CheckBox
Reusable Checkbox component
Example
import {
Radio,
Typography,
} from '@lad-tech/mobydick-core';
export const ControlListWidget = () => {
return (
<CheckBox value={'option two'}>
<Typography>option two</Typography>
</CheckBox>
);
};
Props
Requiredvalue
TYPE |
---|
string |
Value for Radio
selected
TYPE |
---|
boolean |
Select Radio
disabled
TYPE |
---|
boolean |
Disable Radio
onPress
TYPE |
---|
() => void |
containerStyle
TYPE |
---|
ViewStyle |
Custom styles for container
checkboxStyle
TYPE |
---|
ViewStyle |
Custom styles for checkbox
fill
TYPE |
---|
string |
Custom color for fill
width
TYPE |
---|
number |
height
TYPE |
---|
number |