duoyun-ui
Version:
A lightweight desktop UI component library, implemented using Gem
21 lines (20 loc) • 835 B
TypeScript
import { HTMLAttributes, RefAttributes } from 'react';
import { ForwardRefExoticComponent } from 'react';
import { DuoyunTextMaskElement } from '../elements/text-mask';
export * from '../elements/text-mask';
export type DyTextMaskProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunTextMaskElement> & {
origin?: DuoyunTextMaskElement['origin'];
placeholder?: DuoyunTextMaskElement['placeholder'];
replacer?: DuoyunTextMaskElement['replacer'];
masks?: DuoyunTextMaskElement['masks'];
};
export type DyTextMaskExpose = {};
declare global {
namespace JSX {
interface IntrinsicElements {
'dy-text-mask': DyTextMaskProps;
}
}
}
export declare const DyTextMask: ForwardRefExoticComponent<Omit<DyTextMaskProps, "ref"> & RefAttributes<DyTextMaskExpose>>;
export default DyTextMask;