mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 03:26:36 +00:00
chore(button-skeleton): deprecate small prop
This commit is contained in:
parent
ea23277600
commit
fc6c3267a6
2 changed files with 5 additions and 2 deletions
|
@ -11,7 +11,10 @@
|
||||||
*/
|
*/
|
||||||
export let size = "default";
|
export let size = "default";
|
||||||
|
|
||||||
/** Set to `true` to use the small variant */
|
/**
|
||||||
|
* @deprecated this prop will be removed in the next major release
|
||||||
|
* Use size="small" instead
|
||||||
|
*/
|
||||||
export let small = false;
|
export let small = false;
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<script>
|
<script>
|
||||||
/**
|
/**
|
||||||
* @deprecated this prop will be removed in the next major release
|
* @deprecated this prop will be removed in the next major release
|
||||||
* Set to `true` to use the small variant
|
* Use size="sm" instead
|
||||||
* @type {boolean} [small=false]
|
* @type {boolean} [small=false]
|
||||||
*/
|
*/
|
||||||
export let small = false;
|
export let small = false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue