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

Core review docs fixes.

This commit is contained in:
Bogdan Bodnar
2019-09-30 11:26:06 +02:00
parent e4e28dbce4
commit 680871de62
10 changed files with 80 additions and 10 deletions

View File

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