add to 's propTypes
This commit is contained in:
parent
bd5a8db896
commit
0914fa4d1a
@ -30,6 +30,7 @@ const Toggle = ({
|
|||||||
|
|
||||||
Toggle.propTypes = {
|
Toggle.propTypes = {
|
||||||
className: React.PropTypes.string,
|
className: React.PropTypes.string,
|
||||||
|
off: React.PropTypes.bool,
|
||||||
style: React.PropTypes.object
|
style: React.PropTypes.object
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
/*
|
||||||
|
* - This can probably be achieved with flexbox so that we don't use any
|
||||||
|
* margins or paddings
|
||||||
|
* - We shouldn't use #FFFFFF but a variation of it to have less contrast
|
||||||
|
*/
|
||||||
|
|
||||||
.toggle {
|
.toggle {
|
||||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
||||||
color: #464646;
|
color: #464646;
|
||||||
|
Loading…
Reference in New Issue
Block a user