import React, { ComponentType } from 'react'; import type { StylingFunction } from 'react-base16-styling'; export interface JSONArrowProps { styling: StylingFunction; arrowStyle?: 'single' | 'double'; expanded: boolean; nodeType: string; onClick: React.MouseEventHandler; ariaControls?: string; ariaLabel?: string OverrideComponent?: ComponentType; } export default function JSONArrow({OverrideComponent, ...props}: JSONArrowProps) { const { styling, arrowStyle = 'single', expanded, nodeType, onClick, ariaControls, ariaLabel } = props if(OverrideComponent) { return } return ( ); }