DIR : /home/kozerus/public_html/cropex/node/node_modules/recharts/types/shape/Rectangle.d.ts

/home/kozerus/public_html/cropex/node/node_modules/recharts/types/shape

/**
 * @fileOverview Rectangle
 */
import React, { SVGProps } from 'react';
import { AnimationDuration, AnimationTiming } from '../util/types';
export type RectRadius = [number, number, number, number];
interface RectangleProps {
    className?: string;
    x?: number;
    y?: number;
    width?: number;
    height?: number;
    radius?: number | RectRadius;
    isAnimationActive?: boolean;
    isUpdateAnimationActive?: boolean;
    animationBegin?: number;
    animationDuration?: AnimationDuration;
    animationEasing?: AnimationTiming;
}
export declare const isInRectangle: (point: {
    x: number;
    y: number;
}, rect: {
    x: number;
    y: number;
    width: number;
    height: number;
}) => boolean;
export type Props = Omit<SVGProps<SVGPathElement>, 'radius'> & RectangleProps;
export declare const Rectangle: React.FC<Props>;
export {};
//


koh5_pano



Your browser does not support the HTML5 canvas element.


Drag mouse to navigate.

Navigation





17.Aug.2010, Martin Wengenmayer