MCPcopy Create free account
hub / github.com/ReactTooltip/react-tooltip / TooltipProps

Function TooltipProps

src/test/tooltip-props.spec.js:9–14  ·  view source on GitHub ↗
({ id, ...tooltipParams })

Source from the content-addressed store, hash-verified

7jest.useRealTimers()
8
9const TooltipProps = ({ id, ...tooltipParams }) => (
10 <>
11 <span data-tooltip-id={id}>Lorem Ipsum</span>
12 <Tooltip id={id} {...tooltipParams} />
13 </>
14)
15
16describe('tooltip props', () => {
17 test('tooltip without element reference', async () => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected