1
0
mirror of https://github.com/yldio/copilot.git synced 2024-12-01 07:30:07 +02:00

add to 's propTypes

This commit is contained in:
Sérgio Ramos 2016-10-26 12:00:24 +01:00
parent bd5a8db896
commit 0914fa4d1a
2 changed files with 7 additions and 0 deletions

View File

@ -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
}; };

View File

@ -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;