1
0
mirror of https://gitlab.nic.cz/turris/reforis/foris-js.git synced 2025-06-16 13:46:16 +02:00

Add styleguidist docs.

This commit is contained in:
Bogdan Bodnar
2019-09-25 15:43:37 +02:00
parent 8296c6129e
commit 4a481ea642
16 changed files with 1300 additions and 136 deletions

View File

@ -17,7 +17,7 @@ const [value, setValue] = useState(CHOICES[0].value);
value={value}
name='some-radio'
choices={CHOICES}
onChange={event=>setValue(event.target.value)}
onChange={e => setValue(e.target.value)}
/>
<p>Selected value: {value}</p>
</>