duoyun-ui
Version:
A lightweight desktop UI component library, implemented using Gem
18 lines (17 loc) • 717 B
TypeScript
import { HTMLAttributes, RefAttributes } from 'react';
import { ForwardRefExoticComponent } from 'react';
import { DuoyunSortBoxElement } from '../elements/sort-box';
export * from '../elements/sort-box';
export type DySortBoxProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunSortBoxElement> & {
'onsort'?: (event: CustomEvent<Parameters<DuoyunSortBoxElement['sort']>[0]>) => void;
};
export type DySortBoxExpose = {};
declare global {
namespace JSX {
interface IntrinsicElements {
'dy-sort-box': DySortBoxProps;
}
}
}
export declare const DySortBox: ForwardRefExoticComponent<Omit<DySortBoxProps, "ref"> & RefAttributes<DySortBoxExpose>>;
export default DySortBox;