| 11 | import { IcicleSvgPropsWithDefaults, IcicleNode, IcicleInteractionHandlers } from './types' |
| 12 | |
| 13 | export interface IcicleNodesProps<Datum> extends IcicleInteractionHandlers<Datum> { |
| 14 | nodeRefs: MutableRefObject<NodeRefMap> |
| 15 | nodes: IcicleNode<Datum>[] |
| 16 | component: RectNodeComponent<IcicleNode<Datum>> |
| 17 | borderRadius: IcicleSvgPropsWithDefaults<Datum>['borderRadius'] |
| 18 | borderWidth: IcicleSvgPropsWithDefaults<Datum>['borderWidth'] |
| 19 | borderColor: IcicleSvgPropsWithDefaults<Datum>['borderColor'] |
| 20 | isInteractive: IcicleSvgPropsWithDefaults<Datum>['isInteractive'] |
| 21 | enableZooming: IcicleSvgPropsWithDefaults<Datum>['enableZooming'] |
| 22 | zoom: (path: string | null) => void |
| 23 | tooltip: IcicleSvgPropsWithDefaults<Datum>['tooltip'] |
| 24 | isFocusable: IcicleSvgPropsWithDefaults<Datum>['isFocusable'] |
| 25 | nav: { |
| 26 | moveUp: (path: string) => void |
| 27 | movePrev: (path: string) => void |
| 28 | moveNext: (path: string) => void |
| 29 | moveDown: (path: string) => void |
| 30 | } |
| 31 | animateOnMount: IcicleSvgPropsWithDefaults<Datum>['animateOnMount'] |
| 32 | transitionMode: IcicleSvgPropsWithDefaults<Datum>['rectsTransitionMode'] |
| 33 | } |
| 34 | |
| 35 | export const IcicleNodes = <Datum,>({ |
| 36 | nodeRefs, |
nothing calls this directly
no outgoing calls
no test coverage detected