Commit e069b555 authored by spc's avatar spc

1

parent 3aaa3cad
import React from 'react';
import { TestSpan } from "../components/testSpan/testSpan";
export default {
component: TestSpan,
title: 'Components/TestSpan',
};
//👇 We create a “template” of how args map to rendering
const Template = (args) => <TestSpan {...args} />;
//👇 Each story then reuses that template
export const Primary = Template.bind({});
Primary.args = {
primary: false,
label: 'TestSpan31',
};
export const Default = Template.bind({});
Default.args = {
primary: false,
label: 'TestSpan-Default2',
};
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment