Button

Buttons allow users to take actions, and make choices, with a single tap.

Default button size is medium and status color is primary.

import { Button } from '../components'

<Button
   style={styles.demoButton}
   primary
   caption="Button"
   onPress={() => {}}
/>

Button can be disabled with disabled property.

import { Button } from '../components'

<Button
   style={styles.demoButton}
   primary
   disabled
   caption="Button"
   onPress={() => {}}
/>

Button can be styled with rounded, bordered properties.

Button can be used with icon.

Buttons can be resized by using sm, md, lg property.

You can specify background-color properties.

Last updated