mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-20 20:33:02 +00:00
feat(toast-notification): make title/subtitle/caption slottable
This commit is contained in:
parent
e59e1a9348
commit
e225c545ab
5 changed files with 47 additions and 12 deletions
|
@ -4387,9 +4387,12 @@ export type CarbonTheme = "white" | "g10" | "g80" | "g90" | "g100";
|
|||
|
||||
### Slots
|
||||
|
||||
| Slot name | Default | Props | Fallback |
|
||||
| :-------- | :------ | :---- | :------- |
|
||||
| -- | Yes | -- | -- |
|
||||
| Slot name | Default | Props | Fallback |
|
||||
| :-------- | :------ | :---- | :---------------------- |
|
||||
| -- | Yes | -- | -- |
|
||||
| caption | No | -- | <code>{caption}</code> |
|
||||
| subtitle | No | -- | <code>{subtitle}</code> |
|
||||
| title | No | -- | <code>{title}</code> |
|
||||
|
||||
### Events
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue