duoyun-ui
Version:
A lightweight desktop UI component library, implemented using Gem
16 lines (15 loc) • 599 B
TypeScript
import { HTMLAttributes, RefAttributes } from 'react';
import { ForwardRefExoticComponent } from 'react';
import { DuoyunRouteElement } from '../elements/route';
export * from '../elements/route';
export type DyRouteProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunRouteElement> & {};
export type DyRouteExpose = {};
declare global {
namespace JSX {
interface IntrinsicElements {
'dy-route': DyRouteProps;
}
}
}
export declare const DyRoute: ForwardRefExoticComponent<Omit<DyRouteProps, "ref"> & RefAttributes<DyRouteExpose>>;
export default DyRoute;