mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
docs(button): use inline notification for note [ci skip]
This commit is contained in:
parent
b39d65c758
commit
cc299be6b3
1 changed files with 10 additions and 2 deletions
|
@ -37,7 +37,11 @@
|
||||||
|
|
||||||
### Danger tertiary, icon-only button
|
### Danger tertiary, icon-only button
|
||||||
|
|
||||||
**Note:** you must provide an `iconDescription` for the button tooltip.
|
<InlineNotification svx-ignore title="Note:" kind="info" hideCloseButton>
|
||||||
|
<div class="body-short-01">
|
||||||
|
You must provide an `iconDescription` for the button tooltip.
|
||||||
|
</div>
|
||||||
|
</InlineNotification>
|
||||||
|
|
||||||
<Button kind="danger-tertiary"iconDescription="Delete" icon={TrashCan16} />
|
<Button kind="danger-tertiary"iconDescription="Delete" icon={TrashCan16} />
|
||||||
|
|
||||||
|
@ -51,7 +55,11 @@
|
||||||
|
|
||||||
### Icon-only button
|
### Icon-only button
|
||||||
|
|
||||||
**Note:** you must provide an `iconDescription` for the button tooltip.
|
<InlineNotification svx-ignore title="Note:" kind="info" hideCloseButton>
|
||||||
|
<div class="body-short-01">
|
||||||
|
You must provide an `iconDescription` for the button tooltip.
|
||||||
|
</div>
|
||||||
|
</InlineNotification>
|
||||||
|
|
||||||
<Button iconDescription="Tooltip text" icon={Add16} />
|
<Button iconDescription="Tooltip text" icon={Add16} />
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue