import React from "react"; import {ComponentStory, ComponentMeta} from "@storybook/react"; import {snippet} from "@nextui-org/theme"; import {Snippet, SnippetProps} from "../src"; export default { title: "Components/Snippet", component: Snippet, argTypes: { variant: { control: { type: "select", options: ["flat", "solid", "bordered", "shadow"], }, }, color: { control: { type: "select", options: ["neutral", "primary", "secondary", "success", "warning", "danger"], }, }, radius: { control: { type: "select", options: ["none", "base", "sm", "md", "lg", "xl", "full"], }, }, size: { control: { type: "select", options: ["xs", "sm", "md", "lg", "xl"], }, }, fullWidth: { control: { type: "boolean", }, }, disableCopy: { control: { type: "boolean", }, }, disableTooltip: { control: { type: "boolean", }, }, hideCopyButton: { control: { type: "boolean", }, }, hideSymbol: { control: { type: "boolean", }, }, symbol: { control: { type: "text", }, }, }, decorators: [ (Story) => (