(props)
| 27 | }); |
| 28 | |
| 29 | function Component(props) { |
| 30 | let internalResults = useSlotProps(props, 'slotname'); |
| 31 | useEffect(() => { |
| 32 | results = internalResults; |
| 33 | }, [internalResults]); |
| 34 | let ref = useRef(); |
| 35 | let {pressProps} = usePress({onPress: internalResults.onPress, ref}); |
| 36 | let id = useId(internalResults.id); |
| 37 | return ( |
| 38 | <button id={id} {...pressProps} ref={ref}> |
| 39 | push me |
| 40 | </button> |
| 41 | ); |
nothing calls this directly
no test coverage detected