@@ -25,7 +25,7 @@ import { stackblitzPrefillConfig } from '../../../previewer/codePreviewer';
2525 - [ Tertiary Button] ( #tertiary )
2626 - [ Ghost Button] ( #ghost )
2727 - [ Danger Button] ( #danger-button )
28- - [ Icon-only Buttons ] ( #icon-only-buttons )
28+ - [ Icon-only Button ] ( #icon-only-button )
2929 - [ Set of Buttons] ( #set-of-buttons )
3030 - [ Skeleton state] ( #skeleton-state )
3131- [ Component API] ( #component-api )
@@ -103,8 +103,8 @@ Determining which danger button style to use will depend on the level of
103103emphasis you want to give to the danger action. Destructive actions that are
104104considered a required or primary step in a workflow should use the primary
105105danger button style. However, if a destructive action is just one of several
106- actions a user could choose from, then a lower emphasis style like the tertiary
107- danger button or the ghost danger button may be more appropriate.
106+ actions a user could choose from, then a lower emphasis style like the danger
107+ tertiary button or the danger ghost button may be more appropriate.
108108
109109<Canvas
110110 of = { ButtonStories .Danger }
@@ -116,7 +116,7 @@ danger button or the ghost danger button may be more appropriate.
116116 ]}
117117/>
118118
119- ## Icon-only Buttons
119+ ## Icon-only Button
120120
121121Icon buttons allow users to take actions, and make choices, with a single tap.
122122Icon buttons can take the form of Primary, Secondary, Tertiary, and Ghost but
@@ -256,7 +256,7 @@ variant, check out the
256256 <Button kind="secondary">Secondary</Button>
257257 <Button kind="tertiary">Tertiary </Button>
258258 <Button kind="danger">Danger</Button>
259- <Button kind="danger--tertiary">Danger Tertiary </Button>
259+ <Button kind="danger--tertiary">Danger tertiary </Button>
260260 <Button kind="danger--ghost">Danger Ghost</Button>
261261 <Button kind="ghost">Ghost</Button>
262262 </div>
@@ -267,8 +267,8 @@ variant, check out the
267267<Button kind="secondary">Secondary</Button>
268268<Button kind="tertiary">Tertiary</Button>
269269<Button kind="danger">Danger</Button>
270- <Button kind="danger--tertiary">Danger Tertiary </Button>
271- <Button kind="danger--ghost">Danger Ghost </Button>
270+ <Button kind="danger--tertiary">Danger tertiary </Button>
271+ <Button kind="danger--ghost">Danger ghost </Button>
272272<Button kind="ghost">Ghost</Button>
273273```
274274
@@ -285,7 +285,7 @@ import { Add, TrashCan } from '@carbon/react/icons';
285285Once the icons are imported, you can pass them directly in to the ` Button`
286286component . Keep in mind, you will also need to add an ` iconDescription` to help
287287with screen - reader support if you use the ` renderIcon` prop . If you are trying
288- to render icon- only buttons , please refer to the section on the
288+ to render an icon- only button , please refer to the section on the
289289[hasIconOnly](#button- hasicononly) prop
290290
291291< Unstyled>
0 commit comments