Skip to main content

Radio

Reusable Radio component

Example

import {
Radio,
Typography,
} from '@lad-tech/mobydick-core';

export const ControlListWidget = () => {
return (
<Radio value={'option one'}>
<Typography>option one</Typography>
</Radio>
);
};

Props

Required
value

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