@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.
27 lines (24 loc) • 558 B
text/typescript
// Copyright (c) TotalSoft.
// This source code is licensed under the MIT license.
import { SvgIconComponent } from '@mui/icons-material'
import { CardProps } from '../..'
import { ChartProps } from 'react-chartjs-2'
export interface DeprecatedChartProps extends Omit<ChartProps, 'title'> {
/**
* Chart subtitle.
*/
subheader?: React.ReactNode
/**
* Chart icon.
*/
Icon?: SvgIconComponent
/**
* Chart icon color.
*/
iconColor?: string
/**
* Content of the title.
*/
title?: React.ReactNode
cardProps?: CardProps
}