import React from 'react'; import { ViewStyle } from 'react-native'; import { DialogActions } from './DialogActions'; import { DialogContent } from './DialogContent'; import { DialogTitle } from './DialogTitle'; export interface DialogProps { /** * Determines whether clicking outside the dialog dismiss it. */ dismissable?: boolean; /** * Callback that is called when the user dismisses the dialog. */ onDismiss?: () => void; /** * Determines Whether the dialog is visible. */ visible: boolean; /** * Content of the `Dialog`. */ children: React.ReactNode; testID?: string; style?: ViewStyle; } export declare const DialogDefaultProps: {}; type DialogType = React.ComponentType & { Actions: typeof DialogActions; Content: typeof DialogContent; Title: typeof DialogTitle; }; /** * # 🔲 Dialog * * Dialogs inform users about a specific task and may contain critical * information, require decisions, or involve multiple tasks. * * ## Usage ```jsx import * as React from 'react'; import { Button, Body1, Dialog, View } from '@bluebase/components'; export default class MyComponent extends React.Component { state = { visible: false, }; _showDialog = () => this.setState({ visible: true }); _hideDialog = () => this.setState({ visible: false }); render() { return ( Alert This is simple dialog ); } } ``` */ export declare const Dialog: DialogType; export {};