UNPKG

duoyun-ui

Version:

A lightweight desktop UI component library, implemented using Gem

21 lines (20 loc) 896 B
import { HTMLAttributes, RefAttributes } from 'react'; import { ForwardRefExoticComponent } from 'react'; import { DuoyunChartZoomElement } from '../elements/chart-zoom'; export * from '../elements/chart-zoom'; export type DyChartZoomProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunChartZoomElement> & { values?: DuoyunChartZoomElement['values']; value?: DuoyunChartZoomElement['value']; aspectRatio?: DuoyunChartZoomElement['aspectRatio']; 'onchange'?: (event: CustomEvent<Parameters<DuoyunChartZoomElement['change']>[0]>) => void; }; export type DyChartZoomExpose = {}; declare global { namespace JSX { interface IntrinsicElements { 'dy-chart-zoom': DyChartZoomProps; } } } export declare const DyChartZoom: ForwardRefExoticComponent<Omit<DyChartZoomProps, "ref"> & RefAttributes<DyChartZoomExpose>>; export default DyChartZoom;