import React from "react"; import { OverlaysProvider } from "@blueprintjs/core"; import { Meta, StoryFn } from "@storybook/react"; import { helpersArgTypes } from "../../../.storybook/helpers"; import { Button, Icon, Spacing } from "../../../index"; export default { title: "Components/Button", component: Button, argTypes: { icon: { ...helpersArgTypes.exampleIcon, }, rightIcon: { ...helpersArgTypes.exampleIcon, }, onClick: { action: "clicked", }, intent: { ...helpersArgTypes.exampleIntent, options: ["UNDEFINED", "primary", "accent", "success", "warning", "danger"], }, }, } as Meta; const TemplateFull: StoryFn = (args) => ( ); export const ButtonLabels = TemplateContent.bind({}); ButtonLabels.args = FullExample.args; const TemplateAnchor: StoryFn = (args) => (