35 lines
999 B
TypeScript
35 lines
999 B
TypeScript
import * as React from 'react';
|
|
import { ScatterProps, ScatterSlotProps, ScatterSlots } from "./Scatter.js";
|
|
export interface ScatterPlotSlots extends ScatterSlots {
|
|
scatter?: React.JSXElementConstructor<ScatterProps>;
|
|
}
|
|
export interface ScatterPlotSlotProps extends ScatterSlotProps {
|
|
scatter?: Partial<ScatterProps>;
|
|
}
|
|
export interface ScatterPlotProps extends Pick<ScatterProps, 'onItemClick'> {
|
|
/**
|
|
* Overridable component slots.
|
|
* @default {}
|
|
*/
|
|
slots?: ScatterPlotSlots;
|
|
/**
|
|
* The props used for each component slot.
|
|
* @default {}
|
|
*/
|
|
slotProps?: ScatterPlotSlotProps;
|
|
}
|
|
/**
|
|
* Demos:
|
|
*
|
|
* - [Scatter](https://mui.com/x/react-charts/scatter/)
|
|
* - [Scatter demonstration](https://mui.com/x/react-charts/scatter-demo/)
|
|
*
|
|
* API:
|
|
*
|
|
* - [ScatterPlot API](https://mui.com/x/api/charts/scatter-plot/)
|
|
*/
|
|
declare function ScatterPlot(props: ScatterPlotProps): React.JSX.Element | null;
|
|
declare namespace ScatterPlot {
|
|
var propTypes: any;
|
|
}
|
|
export { ScatterPlot }; |