From 85ebd27414b55e24ce98b1c488b38f518f6bb940 Mon Sep 17 00:00:00 2001 From: Titani Date: Wed, 5 Oct 2022 09:37:24 -0400 Subject: [PATCH 1/2] docs(Empty state): Added EmptyStatePrimary to documentation --- .../src/components/EmptyState/examples/EmptyState.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/react-core/src/components/EmptyState/examples/EmptyState.md b/packages/react-core/src/components/EmptyState/examples/EmptyState.md index ead9b43b917..515c95dd9b2 100644 --- a/packages/react-core/src/components/EmptyState/examples/EmptyState.md +++ b/packages/react-core/src/components/EmptyState/examples/EmptyState.md @@ -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'; @@ -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" ``` From 930621f1d2e051bfbac7bf431dbbce4cf5919d9a Mon Sep 17 00:00:00 2001 From: Titani Date: Wed, 5 Oct 2022 09:53:53 -0400 Subject: [PATCH 2/2] fix typo --- .../react-core/src/components/EmptyState/examples/EmptyState.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-core/src/components/EmptyState/examples/EmptyState.md b/packages/react-core/src/components/EmptyState/examples/EmptyState.md index 515c95dd9b2..3608e5b3306 100644 --- a/packages/react-core/src/components/EmptyState/examples/EmptyState.md +++ b/packages/react-core/src/components/EmptyState/examples/EmptyState.md @@ -40,7 +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. +`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" ```