UNPKG

duoyun-ui

Version:

A lightweight desktop UI component library, implemented using Gem

20 lines (19 loc) 843 B
import { HTMLAttributes, RefAttributes } from 'react'; import { ForwardRefExoticComponent } from 'react'; import { DuoyunTimePanelElement } from '../elements/time-panel'; export * from '../elements/time-panel'; export type DyTimePanelProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunTimePanelElement> & { headless?: DuoyunTimePanelElement['headless']; 'onchange'?: (event: CustomEvent<Parameters<DuoyunTimePanelElement['change']>[0]>) => void; value?: DuoyunTimePanelElement['value']; }; export type DyTimePanelExpose = {}; declare global { namespace JSX { interface IntrinsicElements { 'dy-time-panel': DyTimePanelProps; } } } export declare const DyTimePanel: ForwardRefExoticComponent<Omit<DyTimePanelProps, "ref"> & RefAttributes<DyTimePanelExpose>>; export default DyTimePanel;