recharts
Version:
React charts
20 lines (19 loc) • 515 B
TypeScript
import React, { ReactNode, CSSProperties, SVGProps } from 'react';
interface SurfaceProps {
width: number;
height: number;
viewBox?: {
x?: number;
y?: number;
width?: number;
height?: number;
};
className?: string;
style?: CSSProperties;
children?: ReactNode;
title?: string;
desc?: string;
}
export type Props = Omit<SVGProps<SVGSVGElement>, 'viewBox'> & SurfaceProps;
export declare function Surface(props: Props): React.JSX.Element;
export {};