| 1 |
import { |
| 2 |
Button, |
| 3 |
EmptyState, |
| 4 |
EmptyStateVariant, |
| 5 |
EmptyStateBody, |
| 6 |
EmptyStateActions, |
| 7 |
EmptyStateFooter |
| 8 |
} from '@patternfly/react-core'; |
| 9 |
import CubesIcon from '@patternfly/react-icons/dist/esm/icons/cubes-icon'; |
| 10 |
|
| 11 |
export const EmptyStateExtraLarge: React.FunctionComponent = () => ( |
| 12 |
<EmptyState variant={EmptyStateVariant.xl} titleText="Empty state" headingLevel="h4" icon={CubesIcon}> |
| 13 |
<EmptyStateBody> |
| 14 |
This represents the empty state pattern in PatternFly. Hopefully it's simple enough to use but flexible enough to |
| 15 |
meet a variety of needs. |
| 16 |
</EmptyStateBody> |
| 17 |
<EmptyStateFooter> |
| 18 |
<EmptyStateActions> |
| 19 |
<Button variant="primary">Primary action</Button> |
| 20 |
</EmptyStateActions> |
| 21 |
<EmptyStateActions> |
| 22 |
<Button variant="link">Multiple</Button> |
| 23 |
<Button variant="link">Action Buttons</Button> |
| 24 |
<Button variant="link">Can</Button> |
| 25 |
<Button variant="link">Go here</Button> |
| 26 |
<Button variant="link">In the secondary</Button> |
| 27 |
<Button variant="link">Action area</Button> |
| 28 |
</EmptyStateActions> |
| 29 |
</EmptyStateFooter> |
| 30 |
</EmptyState> |
| 31 |
); |