1 | import * as React from "react";
|
2 | import { BoxProps } from "../Box";
|
3 | import * as StyledSystem from "styled-system";
|
4 | import { LinkProps } from "../Link";
|
5 |
|
6 | interface IBreadcrumb {
|
7 | children?: React.ReactNode;
|
8 | |
9 |
|
10 |
|
11 | separator?: string | React.ReactNode;
|
12 | |
13 |
|
14 |
|
15 | addSeparator?: boolean;
|
16 | |
17 |
|
18 |
|
19 | spacing?: StyledSystem.MarginProps["margin"];
|
20 | }
|
21 |
|
22 | type BreadcrumbProps = BoxProps & IBreadcrumb;
|
23 | declare const Breadcrumb: React.FC<BreadcrumbProps>;
|
24 | export default Breadcrumb;
|
25 |
|
26 |
|
27 |
|
28 | export const BreadcrumbSeparator: React.FC<BoxProps>;
|
29 | export const BreadcrumbLink: React.FC<LinkProps>;
|
30 |
|
31 |
|
32 |
|
33 | export type BreadcrumbItemProps = BreadcrumbProps & {
|
34 | |
35 |
|
36 |
|
37 |
|
38 | isCurrentPage?: boolean;
|
39 | };
|
40 |
|
41 | export const BreadcrumbItem: React.FC<BreadcrumbItemProps>;
|