Version: Next

Button

A basic button component that should render nicely on any platform. Supports a minimal level of customization.

import { Button } from 'react-native-noxi';
<Button
size="small"
onPress={click}
size="normal">
button name!
</Button>

Example#


Reference#

Properties#

children#

• children: React.ReactNode


loading#

• Optional loading: undefined | false | true


onLayout#

• Optional onLayout: undefined | (event: any) => void


onPress#

• Optional onPress: undefined | (event: GestureResponderEvent) => void


size#

• Optional size: \"small\" | \"normal\" | \"full\"


style#

• Optional style: StyleProp<ViewStyle>


theme#

• theme: [Theme]