import { Meta , Story } from "@storybook/react" ; import React from "react" ; import { StatusChip } from "./StatusChip" ; import type { StatusChipProps } from "./types" ; const props = { label : "Lorem Ipsum" , variant : "neutral" } ; export const Info = ( ) => < StatusChip { ... props } / > ; export const Warn = ( ) => < StatusChip { ... props } variant = "warning" / > ; export const Success = ( ) => < StatusChip { ... props } variant = "success" / > ; export const Error = ( ) => < StatusChip { ... props } variant = "error" / > ; export const Large = ( ) => < StatusChip { ... props } size = "lg" / > ; export default { title : "Status Chip" } as Meta ;