Optional
defaultProps
defaultProps?: Partial<Omit<Props<ValueType, NameType> & {
accessibilityLayer?: boolean;
active?: boolean;
allowEscapeViewBox?: AllowInDimension;
animationDuration?: number;
animationEasing?: AnimationTiming;
content?: ContentType<ValueType, NameType>;
coordinate?: Partial<Coordinate>;
cursor?: boolean | ReactElement<any, string | JSXElementConstructor<any>> | SVGProps<SVGElement>;
defaultIndex?: number;
filterNull?: boolean;
includeHidden?: boolean;
isAnimationActive?: boolean;
offset?: number;
payloadUniqBy?: UniqueOption<Payload<ValueType, NameType>>;
position?: Partial<Coordinate>;
reverseDirection?: AllowInDimension;
shared?: boolean;
trigger?: "hover" | "click";
useTranslate3d?: boolean;
viewBox?: CartesianViewBox;
wrapperStyle?: CSSProperties;
} & ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement> & {
hideIndicator?: boolean;
hideLabel?: boolean;
indicator?: "line" | "dot" | "dashed";
labelKey?: string;
nameKey?: string;
}, "ref"> & RefAttributes<HTMLDivElement>>
Optional
propTypes
propTypes?: WeakValidationMap<Omit<Props<ValueType, NameType> & {
accessibilityLayer?: boolean;
active?: boolean;
allowEscapeViewBox?: AllowInDimension;
animationDuration?: number;
animationEasing?: AnimationTiming;
content?: ContentType<ValueType, NameType>;
coordinate?: Partial<Coordinate>;
cursor?: boolean | ReactElement<any, string | JSXElementConstructor<any>> | SVGProps<SVGElement>;
defaultIndex?: number;
filterNull?: boolean;
includeHidden?: boolean;
isAnimationActive?: boolean;
offset?: number;
payloadUniqBy?: UniqueOption<Payload<ValueType, NameType>>;
position?: Partial<Coordinate>;
reverseDirection?: AllowInDimension;
shared?: boolean;
trigger?: "hover" | "click";
useTranslate3d?: boolean;
viewBox?: CartesianViewBox;
wrapperStyle?: CSSProperties;
} & ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement> & {
hideIndicator?: boolean;
hideLabel?: boolean;
indicator?: "line" | "dot" | "dashed";
labelKey?: string;
nameKey?: string;
}, "ref"> & RefAttributes<HTMLDivElement>>
Deprecated
Use values for destructuring assignments instead.