reactnative-visual
  • @dormakaba/digital-reactnative-visual
  • Getting started
  • Changelog
  • Components
    • Avatar
    • Button
    • Card
    • Checkbox / Radio
    • Icons
    • IconButton
    • Image Cropper
    • Page, Row, Col
    • List, ListItem
    • Modal
    • Notification
    • QR Code Reader
    • Select
    • Snack
    • Swipeable
    • Textfield
    • Typography: H1, P, Label, Hint, Text
  • Page Templates
    • Animated Login View
    • Login Area View
    • Animated Panel List
    • Animated Avatar View
  • Misc
    • Colors
    • VisualProvider
  • Show Cases
    • exivo
Powered by GitBook
On this page
  • Preview
  • Code Sample
  • Props
  1. Components

Checkbox / Radio

PreviousCardNextIcons

Last updated 6 years ago

Preview

Code Sample

import { Checkbox } from '@dormakaba/digital-reactnative-visual';

<Checkbox
  onPress={() => {}}
  checked
  label='halleluja'
/>

<Checkbox
  asRadio
  onPress={() => {}}
  checked
  label='halleluja'
/>

Props

Name

Type

Description

checked

boolean

state checked

label

string

label to show beside the checkbox

onPress

function

triggered on press (you will need to toggle the checked state)

asRadio

boolean

render a radio instead of a checkbox