You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
portainer/app/react/components/buttons/AddButton.stories.tsx

22 lines
409 B

import { Meta, Story } from '@storybook/react';
import { AddButton } from './AddButton';
export default {
component: AddButton,
title: 'Components/Buttons/AddButton',
} as Meta;
type Args = {
label: string;
};
function Template({ label }: Args) {
return <AddButton>{label}</AddButton>;
}
export const Primary: Story<Args> = Template.bind({});
Primary.args = {
label: 'Create new container',
};