Debian Codegraph @

node/@patternfly/react-core/src/components/Alert/examples/AlertVariants.tsx

raw
1 import { Fragment } from 'react';
2 import { Alert } from '@patternfly/react-core';
3
4 export const AlertVariants: React.FunctionComponent = () => (
5 <Fragment>
6 <Alert title="Custom alert title" ouiaId="CustomAlert" />
7 <Alert variant="info" title="Info alert title" ouiaId="InfoAlert" />
8 <Alert variant="success" title="Success alert title" ouiaId="SuccessAlert" />
9 <Alert variant="warning" title="Warning alert title" ouiaId="WarningAlert" />
10 <Alert variant="danger" title="Danger alert title" ouiaId="DangerAlert" />
11 </Fragment>
12 );