(props: any)
| 2891 | |
| 2892 | class ModalExampleFocusAfterClose extends React.Component<any, any> { |
| 2893 | constructor(props: any) { |
| 2894 | super(props); |
| 2895 | this.state = { |
| 2896 | open: false, |
| 2897 | focusAfterClose: true, |
| 2898 | }; |
| 2899 | this.toggle = this.toggle.bind(this); |
| 2900 | this.handleSelectChange = this.handleSelectChange.bind(this); |
| 2901 | } |
| 2902 | |
| 2903 | toggle() { |
| 2904 | this.setState({ open: !this.state.open }); |
nothing calls this directly
no outgoing calls
no test coverage detected