duoyun-ui
Version:
A lightweight desktop UI component library, implemented using Gem
19 lines (18 loc) • 748 B
TypeScript
import { HTMLAttributes, RefAttributes } from 'react';
import { ForwardRefExoticComponent } from 'react';
import { DuoyunProgressElement } from '../elements/progress';
export * from '../elements/progress';
export type DyProgressProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunProgressElement> & {
estimate?: DuoyunProgressElement['estimate'];
calculateColor?: DuoyunProgressElement['calculateColor'];
};
export type DyProgressExpose = {};
declare global {
namespace JSX {
interface IntrinsicElements {
'dy-progress': DyProgressProps;
}
}
}
export declare const DyProgress: ForwardRefExoticComponent<Omit<DyProgressProps, "ref"> & RefAttributes<DyProgressExpose>>;
export default DyProgress;