({color})
| 417 | if (__DEV__) { |
| 418 | await render(() => { |
| 419 | function Hello({color}) { |
| 420 | const [val, setVal] = React.useState(0); |
| 421 | return ( |
| 422 | <p style={{color}} onClick={() => setVal(val + 1)}> |
| 423 | {val} |
| 424 | </p> |
| 425 | ); |
| 426 | } |
| 427 | $RefreshReg$(Hello, 'Hello'); |
| 428 | |
| 429 | const Outer = React.forwardRef(() => <Hello color="blue" />); |
nothing calls this directly
no test coverage detected