UNPKG

duoyun-ui

Version:

A lightweight desktop UI component library, implemented using Gem

21 lines (20 loc) 867 B
import { HTMLAttributes, RefAttributes } from 'react'; import { ForwardRefExoticComponent } from 'react'; import { DuoyunDonutChartElement } from '../elements/donut-chart'; export * from '../elements/donut-chart'; export type DyDonutChartProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunDonutChartElement> & { label?: DuoyunDonutChartElement['label']; total?: DuoyunDonutChartElement['total']; aspectRatio?: DuoyunDonutChartElement['aspectRatio']; sequences?: DuoyunDonutChartElement['sequences']; }; export type DyDonutChartExpose = {}; declare global { namespace JSX { interface IntrinsicElements { 'dy-donut-chart': DyDonutChartProps; } } } export declare const DyDonutChart: ForwardRefExoticComponent<Omit<DyDonutChartProps, "ref"> & RefAttributes<DyDonutChartExpose>>; export default DyDonutChart;