This package has been deprecated

Author message:

Current package is merged to dooboo-ui. Use dooboo-ui [AlertDialog] instead.

@dooboo-ui/alert-dialog
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

AlertDialog

Props

Props Types Required Default
isOpen boolean optional false
type 'alert' | 'confirm' | 'prompt' optional 'alert'
title string optional -
content string optional -
styles ModalProps['style'] optional {}
backdropOpacity number optional 0.5
backdropPressToClose number optional True
renderPrimaryButton (onPress: VoidFunction) => React.ReactElement optional -
renderAdditionalButton (onPress: VoidFunction) => React.ReactElement optional -
onPress (result: boolean | string | null) => void Required -

Installation

yarn add @dooboo-ui/alert-dialog

Dependencies (3)

Dev Dependencies (3)

Package Sidebar

Install

npm i @dooboo-ui/alert-dialog

Weekly Downloads

2

Version

0.0.1

License

MIT

Unpacked Size

986 kB

Total Files

8

Last publish

Collaborators

  • do02reen24
  • dooboolab
  • jongtaek