@@ -8,7 +8,7 @@ import './main.css'
88import React from 'react'
99import ReactDOM from 'react-dom'
1010import Link from 'valuelink'
11- import { Input , NumberInput , Select , TextArea , Radio , Checkbox } from 'tags.jsx '
11+ import { Input , NumberInput , Select , TextArea , Radio , Checkbox } from 'tags'
1212
1313const App = React . createClass ( {
1414 getInitialState ( ) {
@@ -134,12 +134,10 @@ const CheckboxObjGroup = ({ flagsLink }) => {
134134 < fieldset >
135135 < legend > Standard checkbox group bound to object</ legend >
136136 < label >
137- A:
138- < Input type = "checkbox" checkedLink = { links . a } />
137+ A: < Input type = "checkbox" checkedLink = { links . a } />
139138 </ label >
140139 < label >
141- B:
142- < Input type = "checkbox" checkedLink = { links . b } />
140+ B: < Input type = "checkbox" checkedLink = { links . b } />
143141 </ label >
144142 </ fieldset >
145143 ) ;
@@ -149,12 +147,10 @@ const CustomCheckboxObjGroup = ({ flagsLink }) => (
149147 < fieldset >
150148 < legend > Custom checkbox group bound to object</ legend >
151149 < label >
152- A:
153- < Checkbox checkedLink = { flagsLink . at ( 'a' ) } />
150+ A: < Checkbox checkedLink = { flagsLink . at ( 'a' ) } />
154151 </ label >
155152 < label >
156- B:
157- < Checkbox checkedLink = { flagsLink . at ( 'b' ) } />
153+ B: < Checkbox checkedLink = { flagsLink . at ( 'b' ) } />
158154 </ label >
159155 </ fieldset >
160156) ;
@@ -163,12 +159,10 @@ const CheckboxListGroup = ({ flagsLink }) => (
163159 < fieldset >
164160 < legend > Checkbox group bound to list</ legend >
165161 < label >
166- A:
167- < Input type = "checkbox" checkedLink = { flagsLink . contains ( 'a' ) } />
162+ A: < Input type = "checkbox" checkedLink = { flagsLink . contains ( 'a' ) } />
168163 </ label >
169164 < label >
170- B:
171- < Input type = "checkbox" checkedLink = { flagsLink . contains ( 'b' ) } />
165+ B: < Input type = "checkbox" checkedLink = { flagsLink . contains ( 'b' ) } />
172166 </ label >
173167 </ fieldset >
174168) ;
@@ -177,12 +171,10 @@ const RadioGroup = ({ flagLink }) => (
177171 < fieldset >
178172 < legend > Radio group bound to value</ legend >
179173 < label >
180- A:
181- < Input type = "radio" valueLink = { flagLink } value = "a" />
174+ A: < Input type = "radio" valueLink = { flagLink } value = "a" />
182175 </ label >
183176 < label >
184- B:
185- < Input type = "radio" valueLink = { flagLink } value = "b" />
177+ B: < Input type = "radio" valueLink = { flagLink } value = "b" />
186178 </ label >
187179 </ fieldset >
188180) ;
@@ -203,12 +195,10 @@ const CustomRadioGroup = ({ flagLink }) => (
203195 < fieldset >
204196 < legend > Custom Radio group bound to value</ legend >
205197 < label >
206- A:
207- < Radio checkedLink = { flagLink . equals ( 'a' ) } />
198+ A: < Radio checkedLink = { flagLink . equals ( 'a' ) } />
208199 </ label >
209200 < label >
210- B:
211- < Radio checkedLink = { flagLink . equals ( 'b' ) } />
201+ B: < Radio checkedLink = { flagLink . equals ( 'b' ) } />
212202 </ label >
213203 </ fieldset >
214204) ;
0 commit comments