import * as React from 'react'; import { View, ViewStyle, StyleProp } from 'react-native'; declare type Props = React.ComponentPropsWithRef & { /** * Content of the `DialogContent`. */ children: React.ReactNode; style?: StyleProp; }; /** * A component to show content in a Dialog. * *
*
* *
*
* * * ## Usage * ```js * import * as React from 'react'; * import { Paragraph, Dialog, Portal } from 'react-native-paper'; * * const MyComponent = () => { * const [visible, setVisible] = React.useState(false); * * const hideDialog = () => setVisible(false); * * return ( * * * * This is simple dialog * * * * ); * }; * * export default MyComponent; * ``` */ declare const DialogContent: { (props: Props): JSX.Element; displayName: string; }; export default DialogContent;