@mui/x-charts
Version:
The community edition of MUI X Charts components.
25 lines • 873 B
TypeScript
import { SxProps, Theme } from '@mui/material/styles';
import * as React from 'react';
export interface ChartsSurfaceProps extends Omit<React.SVGProps<SVGSVGElement>, 'id' | 'children' | 'className' | 'height' | 'width' | 'cx' | 'cy' | 'viewBox' | 'color' | 'ref'> {
className?: string;
title?: string;
desc?: string;
sx?: SxProps<Theme>;
children?: React.ReactNode;
}
/**
* It provides the drawing area for the chart elements.
* It is the root `<svg>` of all the chart elements.
*
* It also provides the `title` and `desc` elements for the chart.
*
* Demos:
*
* - [Composition](https://mui.com/x/api/charts/composition/)
*
* API:
*
* - [ChartsSurface API](https://mui.com/x/api/charts/charts-surface/)
*/
declare const ChartsSurface: React.ForwardRefExoticComponent<ChartsSurfaceProps & React.RefAttributes<SVGSVGElement>>;
export { ChartsSurface };