UNPKG

@mui/x-charts

Version:

The community edition of MUI X Charts components.

23 lines 779 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; /** * If `true`, the chart wrapper set `height: 100%`. * @default `false` if the `height` prop is set. And `true` otherwise. */ extendVertically?: boolean; 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 };