Debian Codegraph @

node/@patternfly/react-core/src/components/EmptyState/examples/EmptyStateNoMatchFound.tsx

raw
1 import { Button, EmptyState, EmptyStateBody, EmptyStateFooter, EmptyStateActions } from '@patternfly/react-core';
2 import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
3
4 export const EmptyStateNoMatchFound: React.FunctionComponent = () => (
5 <EmptyState titleText="No results found" headingLevel="h4" icon={SearchIcon}>
6 <EmptyStateBody>No results match the filter criteria. Clear all filters and try again.</EmptyStateBody>
7 <EmptyStateFooter>
8 <EmptyStateActions>
9 <Button variant="link">Clear all filters</Button>
10 </EmptyStateActions>
11 </EmptyStateFooter>
12 </EmptyState>
13 );