Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 3019 | Rev 3192 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 3019 Rev 3021
Línea 55... Línea 55...
55
  control,
55
  control,
56
  label,
56
  label,
57
  rules,
57
  rules,
58
  defaultValue = false,
58
  defaultValue = false,
59
  onChange: externalOnChange,
59
  onChange: externalOnChange,
60
  styles,
60
  labelStyles,
-
 
61
  checkBoxStyles,
61
  ...props
62
  ...props
62
}) => {
63
}) => {
63
  const {
64
  const {
64
    field: { value, onChange },
65
    field: { value, onChange },
65
    fieldState: { error }
66
    fieldState: { error }
Línea 83... Línea 84...
83
        <Checkbox
84
        <Checkbox
84
          checked={value}
85
          checked={value}
85
          onChange={handleChange}
86
          onChange={handleChange}
86
          icon={<BpIcon />}
87
          icon={<BpIcon />}
87
          checkedIcon={<BpCheckedIcon />}
88
          checkedIcon={<BpCheckedIcon />}
-
 
89
          sx={checkBoxStyles}
88
          {...props}
90
          {...props}
89
        />
91
        />
90
      }
92
      }
91
      label={label}
93
      label={label}
92
      error={!!error}
94
      error={!!error}
93
      sx={styles}
95
      sx={labelStyles}
94
    />
96
    />
95
  )
97
  )
96
}
98
}
Línea 97... Línea 99...
97
 
99