| // @flow | |
| import * as React from "react"; | |
| type Props = {| | |
| title: string, | |
| children: React.Node, | |
| |}; | |
| type State = {||}; | |
| class Tab extends React.PureComponent<Props, State> { | |
| render(): React.Node { | |
| return this.props.children; | |
| } | |
| } | |
| export default Tab; | |
| // @flow | |
| import * as React from "react"; | |
| type Props = {| | |
| title: string, | |
| children: React.Node, | |
| |}; | |
| type State = {||}; | |
| class Tab extends React.PureComponent<Props, State> { | |
| render(): React.Node { | |
| return this.props.children; | |
| } | |
| } | |
| export default Tab; | |