import { Story, Meta } from "@storybook/react"; import Chip from "./chip"; import IChipProps from "./chip.props"; import lightTheme from "../../core/theme/variants/light"; export default { title: "Components/Chip", component: Chip, parameters: { docs: { description: { component: "Welcome to N Chip page." } } }, argTypes: { color: { control: { type: "select", options: Object.keys(lightTheme.colors) }, }, variant: { control: { type: "select", options: [ "inverted", "outline", "filled" ] } }, titleColor: { control: { type: "select", options: Object.keys(lightTheme.colors) } }, isCancelable: { control: "boolean" }, size: { control: "select", options: [ "small", "medium", "large" ] }, spreadBehaviour: { control: { type: "select", options: [ "baseline", "center", "free" ] } } }, } as Meta; const Template: Story = (args) => ; export const Default = Template.bind({ }); Default.args = { variant: "filled", title: "Chip" };