import React from "react"; import styled from "styled-components"; import noop from "lodash/noop"; /* eslint-disable import/no-unresolved */ import { Meta } from "@storybook/react/types-6-0"; import Alert from "./Alert"; import { Text } from "../Text"; const Row = styled.div` margin-bottom: 32px; `; export default { title: "Components/Alert", component: Alert, argTypes: {}, } as Meta; export const Default: React.FC = () => { return (
This is a description This is a description This is a description This is a description
); }; const handleClick = noop; export const WithHandler: React.FC = () => { return (
A description of the success alert
); };