Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upCode examples in documentation #145
Comments
This comment has been minimized.
This comment has been minimized.
|
So you mean: <RadioButtons selected={1} onSelect={v => console.log(`option no. ${v} got selected`)}>
<RadioButtons.Item>Option 1</RadioButtons.Item>
<RadioButtons.Item>Option 2</RadioButtons.Item>
</RadioButtons>instead of <RadioButtons>
<RadioButtons.Item>Option 1</RadioButtons.Item>
<RadioButtons.Item>Option 2</RadioButtons.Item>
</RadioButtons> |
This comment has been minimized.
This comment has been minimized.
|
Yeah something like that. Also, I was thinking to show separate examples for each prop. |
kusti8
referenced this issue
May 30, 2018
Closed
We need more examples, preferably live demos that are online #100
kusti8
added
the
documentation
label
Jul 8, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
faraazahmad commentedMay 24, 2018
It would be nice to have code examples in the documentation for the props, as sometimes it can be hard to tell how to use a component and its props (especially for beginners)