pragmate-ui
Version:
An advanced, on-demand React UI library optimized for BeyondJS. Pragmate UI provides modular, responsive, and accessible components with a focus on efficient bundle sizes and a streamlined development process.
61 lines (53 loc) • 1.35 kB
TypeScript
/************
Processor: ts
************/
import __beyond_dep_def_0 from 'react';
// index.tsx
declare namespace ns_0 {
import React = __beyond_dep_def_0;
import IProps = ns_2.IProps;
export function BreadCrumb({
items,
separator,
className,
children,
...props
}: IProps): React.JSX.Element;
}
// item.tsx
declare namespace ns_1 {
import React = __beyond_dep_def_0;
import IItem = ns_2.IItem;
export function Item({
link,
label,
last,
currentRouting,
index,
total,
separator
}: IItem): React.JSX.Element;
}
// types.ts
declare namespace ns_2 {
import React = __beyond_dep_def_0;
type ClickHandler = (event: React.MouseEvent<HTMLDivElement | HTMLAnchorElement>) => void;
export interface IProps extends React.AllHTMLAttributes<HTMLDivElement> {
items: [string, (string | ClickHandler)?, ClickHandler?][];
border?: string;
separator?: string;
}
export interface IItem {
link?: string | ClickHandler;
label?: string | number;
currentRouting?: string;
onClick?: ClickHandler;
separator?: string;
total?: number;
index?: number;
last?: boolean;
}
export {};
}
export import BreadCrumb = ns_0.BreadCrumb;
export declare const hmr: {on: (event: string, listener: any) => void, off: (event: string, listener: any) => void };