feat(accordion): add "sm", "xl" size variants to Accordion and AccordionSkeleton

This commit is contained in:
Eric Liu 2020-10-15 15:48:48 -07:00
commit cb80c7d15b
7 changed files with 50 additions and 14 deletions

View file

@ -198,6 +198,7 @@ import { Accordion } from "carbon-components-svelte";
| Prop name | Type | Default value |
| :-------- | :-------------------------------- | :------------ |
| align | <code>"start" &#124; "end"</code> | "end" |
| size | <code>"sm" &#124; "xl"</code> | -- |
| skeleton | <code>boolean</code> | false |
### Slots
@ -262,10 +263,12 @@ import { AccordionSkeleton } from "carbon-components-svelte";
### Props
| Prop name | Type | Default value |
| :-------- | :------------------- | :------------ |
| count | <code>number</code> | 4 |
| open | <code>boolean</code> | true |
| Prop name | Type | Default value |
| :-------- | :-------------------------------- | :------------ |
| count | <code>number</code> | 4 |
| align | <code>"start" &#124; "end"</code> | "end" |
| size | <code>"sm" &#124; "xl"</code> | -- |
| open | <code>boolean</code> | true |
### Slots