DialogTitle

A component to show a title in a Dialog.

Usage

export default class MyComponent extends React.Component {
  state = {
    visible: false,
  };

  _hideDialog = () => this.setState({ visble: false });

  render() {
    return (
      <Dialog
        visible={this.state.visible}
        onRequestClose={this._hideDialog}>
        <DialogTitle>This is a title</DialogTitle>
        <DialogContent>
          <Paragraph>This is simple dialog</Paragraph>
        </DialogContent>
      </Dialog>
    );
  }
}

Props

children (required)

Title text for the DialogTitle.

style
Type: any
theme
Type: Theme