duoyun-ui
Version:
A lightweight desktop UI component library, implemented using Gem
18 lines (17 loc) • 661 B
TypeScript
import { HTMLAttributes, RefAttributes } from 'react';
import { ForwardRefExoticComponent } from 'react';
import { DuoyunHeadingElement } from '../elements/heading';
export * from '../elements/heading';
export type DyHeadingProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunHeadingElement> & {
lv?: DuoyunHeadingElement['lv'];
};
export type DyHeadingExpose = {};
declare global {
namespace JSX {
interface IntrinsicElements {
'dy-heading': DyHeadingProps;
}
}
}
export declare const DyHeading: ForwardRefExoticComponent<Omit<DyHeadingProps, "ref"> & RefAttributes<DyHeadingExpose>>;
export default DyHeading;