UNPKG

duoyun-ui

Version:

A lightweight desktop UI component library, implemented using Gem

19 lines (18 loc) 842 B
import { HTMLAttributes, RefAttributes } from 'react'; import { ForwardRefExoticComponent } from 'react'; import { DuoyunSelectionBoxElement } from '../elements/selection-box'; export * from '../elements/selection-box'; export type DySelectionBoxProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunSelectionBoxElement> & { container?: DuoyunSelectionBoxElement['container']; 'onchange'?: (event: CustomEvent<Parameters<DuoyunSelectionBoxElement['change']>[0]>) => void; }; export type DySelectionBoxExpose = {}; declare global { namespace JSX { interface IntrinsicElements { 'dy-selection-box': DySelectionBoxProps; } } } export declare const DySelectionBox: ForwardRefExoticComponent<Omit<DySelectionBoxProps, "ref"> & RefAttributes<DySelectionBoxExpose>>; export default DySelectionBox;