Checkbox

Installation

import { Checkbox, CheckboxProps } from 'hc-mobile-app-ui';

Example

Props

Name
Type
Description

onPress

function

Function to be called when checkbox is checked/unchecked.

disabled

boolean

Determines if the checkbox is disabled or not.

isChecked

boolean

Determines if the checkbox is checked or not.

label

string

Label for the checkbox.

hint

string

Hint for the checkbox.

inversed

boolean

If true, renders the label and hint in white color.

Last updated