import * as React from 'react'; import { View, ViewStyle, StyleProp } from 'react-native'; declare type Props = React.ComponentPropsWithRef & { /** * Content of the `DialogScrollArea`. */ children: React.ReactNode; style?: StyleProp; }; /** * A component to show a scrollable content in a Dialog. The component only provides appropriate styling. * For the scrollable content you can use `ScrollView`, `FlatList` etc. depending on your requirement. * *
*
* *
*
* * ## Usage * ```js * import * as React from 'react'; * import { ScrollView } from 'react-native'; * import { Dialog, Portal, Text } from 'react-native-paper'; * * const MyComponent = () => { * const [visible, setVisible] = React.useState(false); * * const hideDialog = () => setVisible(false); * * return ( * * * * * This is a scrollable area * * * * * ); * }; * * export default MyComponent; * ``` */ declare const DialogScrollArea: { (props: Props): JSX.Element; displayName: string; }; export default DialogScrollArea;