Skip to content

Commit ebcacd2

Browse files
tlabajTitani
andauthored
docs(Empty state): Added EmptyStatePrimary to documentation (#8161)
* docs(Empty state): Added EmptyStatePrimary to documentation * fix typo Co-authored-by: Titani <[email protected]>
1 parent 8aa9e38 commit ebcacd2

File tree

1 file changed

+3
-1
lines changed
  • packages/react-core/src/components/EmptyState/examples

1 file changed

+3
-1
lines changed

packages/react-core/src/components/EmptyState/examples/EmptyState.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
id: Empty state
33
section: components
44
cssPrefix: pf-c-empty-state
5-
propComponents: ['EmptyState', 'EmptyStateBody', 'EmptyStateIcon', 'EmptyStateSecondaryActions']
5+
propComponents: ['EmptyState', 'EmptyStateBody', 'EmptyStateIcon', 'EmptyStatePrimary','EmptyStateSecondaryActions']
66
---
77
import CubesIcon from '@patternfly/react-icons/dist/esm/icons/cubes-icon';
88
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
@@ -40,5 +40,7 @@ import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
4040

4141
### No match found
4242

43+
`EmptyStatePrimary` is a container for primary actions. It can be used in lieu of using a primary button and will insure appropriate spacing of the buttons.
44+
4345
```ts file="EmptyStateNoMatchFound.tsx"
4446
```

0 commit comments

Comments
 (0)