()
| 1 | import Popover from './Popover'; |
| 2 | |
| 3 | export default function App() { |
| 4 | |
| 5 | const popoverContent = <div> |
| 6 | 光光光 |
| 7 | <button onClick={() => {alert(1)}}>111</button> |
| 8 | </div>; |
| 9 | |
| 10 | return <Popover |
| 11 | content={popoverContent} |
| 12 | placement='bottom' |
| 13 | trigger='click' |
| 14 | style={{margin: '200px'}} |
| 15 | > |
| 16 | <button>点我点我</button> |
| 17 | </Popover> |
| 18 | } |
nothing calls this directly
no outgoing calls
no test coverage detected