-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Docs] Update Documentation for Switches #2814
Conversation
04139d0
to
5238f3e
Compare
const style = { | ||
container: { | ||
textAlign: 'left', | ||
marginBottom: '16px', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
marginBottom: 16,
5238f3e
to
3df447b
Compare
import RadioButtonGroup from 'material-ui/lib/radio-button-group'; | ||
|
||
const style = { | ||
container: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unused
3df447b
to
3a3b4d5
Compare
@@ -36,6 +86,13 @@ const Toggle = React.createClass({ | |||
StylePropable, | |||
], | |||
|
|||
getDefaultProps() { | |||
return { | |||
defaultToggled: false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure it should be false by default. Maybe null.
@Zadielerick Thanks again! |
Did not set defaultProps for
checked
ortoggled
because it messes up components.