UNPKG

@mui/x-charts

Version:

The community edition of the Charts components (MUI X).

18 lines 610 B
import * as React from 'react'; import { SxProps, Theme } from '@mui/material/styles'; import { Direction } from "../../../ChartsLegend/index.js"; import { Position } from "../../../models/index.js"; export interface ChartsWrapperProps { legendPosition?: Position; legendDirection?: Direction; children: React.ReactNode; sx?: SxProps<Theme>; } /** * @ignore - internal component. * * Wrapper for the charts components. * Its main purpose is to position the HTML legend in the correct place. */ declare function ChartsWrapper(props: ChartsWrapperProps): React.JSX.Element; export { ChartsWrapper };