@totalsoft/rocket-ui
Version:
A set of reusable and composable React components built on top of Material UI core for developing fast and friendly web applications interfaces.
24 lines (23 loc) • 555 B
TypeScript
/// <reference types="react" />
import { SvgIconComponent } from '@mui/icons-material';
import { CardProps } from '../../../components';
import { ChartProps as Chart } from 'react-chartjs-2';
export interface ChartProps extends Omit<Chart, 'title'> {
/**
* Chart subtitle.
*/
subheader?: React.ReactNode;
/**
* Chart icon.
*/
Icon?: SvgIconComponent;
/**
* Chart icon color.
*/
iconColor?: string;
/**
* Content of the title.
*/
title?: React.ReactNode;
cardProps?: CardProps;
}