Application Android et IOS pour l'amicale des élèves https://play.google.com/store/apps/details?id=fr.amicaleinsat.application
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CheckBox.js 1.0KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. // @flow
  2. import variable from './../variables/platform';
  3. export default (variables /* : * */ = variable) => {
  4. const checkBoxTheme = {
  5. '.checked': {
  6. 'NativeBase.Icon': {
  7. color: variables.checkboxTickColor
  8. },
  9. 'NativeBase.IconNB': {
  10. color: variables.checkboxTickColor
  11. }
  12. },
  13. 'NativeBase.Icon': {
  14. color: 'transparent',
  15. lineHeight: variables.CheckboxIconSize,
  16. marginTop: variables.CheckboxIconMarginTop,
  17. fontSize: variables.CheckboxFontSize
  18. },
  19. 'NativeBase.IconNB': {
  20. color: 'transparent',
  21. lineHeight: variables.CheckboxIconSize,
  22. marginTop: variables.CheckboxIconMarginTop,
  23. fontSize: variables.CheckboxFontSize
  24. },
  25. borderRadius: variables.CheckboxRadius,
  26. overflow: 'hidden',
  27. width: variables.checkboxSize,
  28. height: variables.checkboxSize,
  29. borderWidth: variables.CheckboxBorderWidth,
  30. paddingLeft: variables.CheckboxPaddingLeft - 1,
  31. paddingBottom: variables.CheckboxPaddingBottom,
  32. left: 10
  33. };
  34. return checkBoxTheme;
  35. };