Skip to content

Commit

Permalink
fix: Merge pull request #32 from fayez-baig:develop
Browse files Browse the repository at this point in the history
fix: radio btn fixed
  • Loading branch information
fayez-baig committed Oct 10, 2020
2 parents f907343 + 33d4be5 commit 6b757cc
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/components/Form/Radio/Radio.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ import { RadioProps } from './types';

export default {
argTypes: {
checked: {
control: {
type: 'boolean'
}
},

children: {
control: {
type: 'text'
Expand All @@ -28,10 +22,10 @@ export default {

const defaultRadioTemplate: Story<RadioProps> = args => (
<>
<Radio {...args} id='female' htmlFor='female' value='female'>
<Radio {...args} id='female' htmlFor='female' name='gender' value='female'>
FEMALE
</Radio>
<Radio {...args} id='male' htmlFor='male' value='male'>
<Radio {...args} id='male' htmlFor='male' name='gender' value='male'>
MALE
</Radio>
</>
Expand Down

0 comments on commit 6b757cc

Please sign in to comment.