import React from 'react'; import { AlertVariant, Button } from '@patternfly/react-core'; import { storiesOf } from '@storybook/react'; import { AlertPanel } from '../src/components/alert/AlertPanel'; import { useAlerts } from '../src/components/alert/Alerts'; storiesOf('Alert Panel') .add('api', () => { }} />) .add('add alert', () => { const [add, alerts, hide] = useAlerts(); return ( <> ); });