Skip to content

Commit

Permalink
Radio component stories minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
g-stamatis committed Dec 21, 2021
1 parent e676357 commit 84eac30
Showing 1 changed file with 28 additions and 20 deletions.
48 changes: 28 additions & 20 deletions src/customizations/components/theme/Radio/Radio.stories.js
Original file line number Diff line number Diff line change
@@ -1,29 +1,37 @@
import React from 'react'
import { Radio } from 'semantic-ui-react'
import React, { useState } from 'react';
import { Radio, Form } from 'semantic-ui-react';

export default {
title: 'Components/Radio',
component: Radio,
parameters: {
actions: {
handles: ['click'],
},
},
argtypes: {}
}
title: 'Components/Forms/Radio',
component: Radio,
parameters: {
actions: {
handles: ['click'],
},
},
argtypes: {},
// decorators: [
// (Story) => (
// <Form>
// <Form.Field><Story /></Form.Field>
// <Form.Field><Story /></Form.Field>
// </Form>
// ),
// ],
};

const Template = (args) => <Radio {...args}></Radio>
const Template = (args) => <Radio {...args}></Radio>;

export const Default = Template.bind({});
Default.args = {
label:"Radio Label",
}
label: 'Radio Label',
};

export const Playground = Template.bind({});
Playground.args = {
label:"Radio Label",
toggle: false,
slider:false,
disabled:false,
readOnly:false,
}
label: 'Radio Label',
toggle: false,
slider: false,
disabled: false,
readOnly: false,
};

0 comments on commit 84eac30

Please sign in to comment.