import type { AddSVGProps } from '@visx/shape/lib/types'; import { Shape } from '@visx/visx'; interface BarProps { className?: string; innerRef?: React.Ref; open?: boolean; } const Bar = ({ open = true, ...restProps }: AddSVGProps): JSX.Element | null => { if (!open) { return null; } return ; }; export default Bar;