Skip to content

Commit

Permalink
docs: add name prop to choice fields
Browse files Browse the repository at this point in the history
  • Loading branch information
kevicency committed Aug 1, 2016
1 parent dcd6303 commit 14211df
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion spec/root.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import ListSection from './sections/ListSection.js'
import SearchBoxSection from './sections/SearchBoxSection.js'
import TableSection from './sections/TableSection.js'

import style from './style'
import style from './style.scss'

const Root = () => (
<div>
Expand Down
8 changes: 4 additions & 4 deletions spec/sections/ChoiceFieldSection.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ import React from 'react'
import ChoiceField from '../../src/ChoiceField'

const ButtonSection = () => (
<section className="choice-field-section">
<section className="choice-field-section">
<h2>ChoiceField</h2>
<div>
<ChoiceField label="Checkbox" />
<ChoiceField type="radio" label="Radio" />
<ChoiceField name="choice1" label="Checkbox" />
<ChoiceField name="choice2" type="radio" label="Radio" />
</div>
</section>
</section>
)

export default ButtonSection

0 comments on commit 14211df

Please sign in to comment.