DialogContent
A component to show content in a Dialog.
Usage
import * as React from 'react';
import { Dialog, DialogContent, Paragraph } from 'react-native-paper';
export default class MyComponent extends React.Component {
state = {
visible: false,
};
_hideDialog = () => this.setState({ visible: false });
render() {
return (
<Dialog
visible={this.state.visible}
onDismiss={this._hideDialog}>
<DialogContent>
<Paragraph>This is simple dialog</Paragraph>
</DialogContent>
</Dialog>
);
}
}
Props
style
Type:
any