()
| 45 | }; |
| 46 | |
| 47 | render() { |
| 48 | const { open, destroy } = this.state; |
| 49 | if (destroy) { |
| 50 | return null; |
| 51 | } |
| 52 | |
| 53 | return ( |
| 54 | <div> |
| 55 | <button type="button" onClick={this.open}> |
| 56 | open |
| 57 | </button> |
| 58 | |
| 59 | <button type="button" onClick={this.destroy}> |
| 60 | destroy |
| 61 | </button> |
| 62 | <Dialog visible={open} onClose={this.close}> |
| 63 | <div style={{ marginTop: 20, position: 'relative' }}> |
| 64 | <MySelect /> |
| 65 | </div> |
| 66 | </Dialog> |
| 67 | <div |
| 68 | style={{ |
| 69 | transform: 'scale(1.5)', |
| 70 | transformOrigin: '0 0', |
| 71 | display: 'flex', |
| 72 | columnGap: 16, |
| 73 | flexWrap: 'wrap', |
| 74 | }} |
| 75 | > |
| 76 | <h3 style={{ width: '100%' }}>Transform: 150%</h3> |
| 77 | <MySelect /> |
| 78 | <MySelect dropdownMatchSelectWidth /> |
| 79 | <MySelect dropdownMatchSelectWidth={false} /> |
| 80 | <MySelect dropdownMatchSelectWidth={300} /> |
| 81 | </div> |
| 82 | </div> |
| 83 | ); |
| 84 | } |
| 85 | } |
| 86 | |
| 87 | export default Test; |
nothing calls this directly
no outgoing calls
no test coverage detected