recharts
Version:
React charts
23 lines (22 loc) • 548 B
TypeScript
/**
* @fileOverview Surface
*/
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 {};