Version: 1.x.x

Dialog

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

import { Dialog } from 'react-native-noxi';
<Dialog show={showDialog} title="Title" message="Hi all!">
<Button size="small" onPress={() => setshowDialog(false)}>
close
</Button>
<Button size="small" onPress={() => setshowDialog(false)}>
ok
</Button>
</Dialog>

Example#


Reference#

Properties#

backgroundColorOverlay#

• Optional backgroundColorOverlay: undefined | string


children#

• Optional children: ReactNode


duration#

• Optional duration: undefined | string


header#

• Optional header: ReactNode


message#

• Optional message: undefined | string


show#

• Optional show: undefined | false | true


theme#

• theme: [Theme]


title#

• Optional title: undefined | string