@ducor/react
Version:
admin template ui interface
15 lines (14 loc) • 569 B
TypeScript
interface LinkProps {
href?: string;
value?: string | CssObj;
onLoad?: () => boolean;
}
declare const Style: import("react").MemoExoticComponent<({ href, value, onLoad }: LinkProps) => import("react").DetailedReactHTMLElement<{
"data-du": string;
onLoad: () => void;
}, HTMLElement> | null>;
type CssBlock = Record<string, string>;
type CssEntry = [string[], CssBlock] | CssBlock;
export type CssObj = Record<string, CssEntry | Record<string, CssBlock>>;
export declare const css: (cssObj: CssObj, minify?: boolean) => string;
export default Style;