chore(button-skeleton): deprecate small prop

This commit is contained in:
Eric Liu 2020-12-05 14:50:28 -08:00
commit fc6c3267a6
2 changed files with 5 additions and 2 deletions

View file

@ -11,7 +11,10 @@
*/
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;
</script>

View file

@ -1,7 +1,7 @@
<script>
/**
* @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]
*/
export let small = false;