import React from "react"; import { AlertVariant, Button } from "@patternfly/react-core"; import { Meta } from "@storybook/react"; import { AlertPanel } from "../components/alert/AlertPanel"; import { AlertProvider, useAlerts } from "../components/alert/Alerts"; export default { title: "Alert Panel", component: AlertPanel, } as Meta; export const Api = () => ( {}} /> ); export const AddAlert = () => { const { addAlert } = useAlerts(); return ( ); };