Skip to content
Snippets Groups Projects
Unverified Commit a249c0bc authored by Kyle Doherty's avatar Kyle Doherty Committed by GitHub
Browse files

remove deprecated button from stories (#48909)

parent aa72eb83
No related branches found
No related tags found
No related merge requests found
import type { StoryFn } from "@storybook/react";
import Button, { type ButtonProps } from "./Button";
export default {
title: "Core/Button",
component: Button,
};
const Template: StoryFn<ButtonProps> = args => {
return <Button {...args} />;
};
export const Default = {
render: Template,
args: {
children: "Default",
},
};
export const Primary = {
render: Template,
args: {
primary: true,
children: "Primary",
},
};
export const WithIcon = {
render: Template,
args: {
icon: "chevrondown",
},
};
export const OnlyText = {
render: Template,
args: {
onlyText: true,
children: "Click Me",
},
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment