@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
    

    Install

    npm i @dooboo-ui/alert-dialog

    DownloadsWeekly Downloads

    3

    Version

    0.0.1

    License

    MIT

    Unpacked Size

    986 kB

    Total Files

    8

    Last publish

    Collaborators

    • jongtaek
    • yujonglee
    • do02reen24
    • dooboolab