Skip to content

Commit

Permalink
docs(Empty state): Added EmptyStatePrimary to documentation (#8161)
Browse files Browse the repository at this point in the history
* docs(Empty state): Added EmptyStatePrimary to documentation

* fix typo

Co-authored-by: Titani <[email protected]>
  • Loading branch information
tlabaj and Titani authored Oct 12, 2022
1 parent 8aa9e38 commit ebcacd2
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
id: Empty state
section: components
cssPrefix: pf-c-empty-state
propComponents: ['EmptyState', 'EmptyStateBody', 'EmptyStateIcon', 'EmptyStateSecondaryActions']
propComponents: ['EmptyState', 'EmptyStateBody', 'EmptyStateIcon', 'EmptyStatePrimary','EmptyStateSecondaryActions']
---
import CubesIcon from '@patternfly/react-icons/dist/esm/icons/cubes-icon';
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
Expand Down Expand Up @@ -40,5 +40,7 @@ import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';

### No match found

`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.

```ts file="EmptyStateNoMatchFound.tsx"
```

0 comments on commit ebcacd2

Please sign in to comment.