@linkdesign/screen
Version:
屏组件库,但使用场景又不局限于屏。主要用于BI、大盘和屏
43 lines (42 loc) • 738 B
TypeScript
import React from 'react';
import { ITitle, UniversalStyle } from '../title';
interface IProps {
/**
* 类名
*/
className?: string;
/**
* 图表标题
*/
title: React.ReactNode;
/**
* 通用样式
*/
universalStyle?: UniversalStyle;
/**
* 标题配置
*/
titleOptions?: ITitle;
/**
* 占比
*/
percent: number;
/**
* 自定义显示内容
*/
text?: React.ReactNode;
/**
* 进度条颜色
*/
color?: string;
/**
* 背景色
*/
backgroundColor?: string;
}
/**
* 环状占比统计图
* @param props IProps
*/
declare const RingChart: (props: IProps) => JSX.Element;
export default RingChart;