import {PoweroffOutlined} from "@ant-design/icons"; import {ComponentMeta, ComponentStory} from "@storybook/react"; import {Col, Row, Space} from "antd"; import React from "react"; import {Button} from "../Starship"; import "../Styles/index.scss"; // More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export export default { title: "Example/Button", component: Button, argTypes: { styleType: { control: { type: "select", options: [ "confirmative", "destructive", "dark", "primary", "link-dark", "badge", "tertiary", "link", ], }, }, }, // More on argTypes: https://storybook.js.org/docs/react/api/argtypes } as ComponentMeta; // More on component templates: https://storybook.js.org/docs/react/writing-stories/introduction#using-args const Template: ComponentStory = args => ( <> {/* primary button only text */}

Button

{/* primary buttons with icon */} {/* primary button only text */} ); export const StarshipButton = Template.bind({}); // More on args: https://storybook.js.org/docs/react/writing-stories/args StarshipButton.args = { styleType: "primary", };