MCPcopy
hub / github.com/plouc/nivo / CrosshairProps

Interface CrosshairProps

packages/tooltip/src/Crosshair.tsx:5–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3import { CrosshairType } from './types'
4
5interface CrosshairProps {
6 width: number
7 height: number
8 type: CrosshairType
9 x: number
10 y: number
11}
12
13export const Crosshair = memo(({ width, height, type, x, y }: CrosshairProps) => {
14 let xLine

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected