welcome-ui
Version:
Customizable design system with react • styled-components • styled-system and ariakit.
17 lines (16 loc) • 820 B
TypeScript
import { default as React } from 'react';
import { CreateWuiProps } from '../System';
import { ThemeColorTokens } from '../../theme';
export interface BreadcrumbOptions {
children: React.ReactNode | React.ReactNode[];
/** color from theme, add for scroll gradient on mobile */
gradientBackground?: ThemeColorTokens;
/** set clickable or not the last child */
lastChildNotClickable?: boolean;
separator?: React.ReactNode | string;
}
export type BreadcrumbProps = CreateWuiProps<'div', BreadcrumbOptions>;
export declare const BreadcrumbComponent: import('../System').CreateWuiComponent<"div", BreadcrumbProps>;
export declare const Breadcrumb: import('../System').CreateWuiComponent<"div", BreadcrumbProps> & {
Item: import('../System').CreateWuiComponent<"a", import('./Item').ItemProps>;
};