mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 02:41:05 +00:00
refactor: update/fix JSDoc props
This commit is contained in:
parent
3c04f122b0
commit
d38e6d8be6
204 changed files with 992 additions and 2359 deletions
|
@ -1,26 +1,17 @@
|
|||
<script>
|
||||
/**
|
||||
* Set the type of notification
|
||||
* @type {"toast" | "inline"} [notificationType="toast"]
|
||||
* @type {"toast" | "inline"}
|
||||
*/
|
||||
export let notificationType = "toast";
|
||||
|
||||
/**
|
||||
* Specify the title text
|
||||
* @type {string} [title="Title"]
|
||||
*/
|
||||
/** Specify the title text */
|
||||
export let title = "Title";
|
||||
|
||||
/**
|
||||
* Specify the subtitle text
|
||||
* @type {string} [subtitle=""]
|
||||
*/
|
||||
/** Specify the subtitle text */
|
||||
export let subtitle = "";
|
||||
|
||||
/**
|
||||
* Specify the caption text
|
||||
* @type {string} [caption="Caption"]
|
||||
*/
|
||||
/** Specify the caption text */
|
||||
export let caption = "Caption";
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue