@kiwicom/orbit-components
Version:
Orbit-components is a React component library which provides developers with the easiest possible way of building Kiwi.com’s products.
23 lines (18 loc) • 631 B
Flow
// @flow
/*
DOCUMENTATION: https://orbit.kiwi/components/breadcrumbs/
*/
import * as React from "react";
import type { Globals } from "../common/common.js.flow";
import typeof BreadcrumbsItemType from "./BreadcrumbsItem/index.js.flow";
import type { spaceAfter } from "../common/getSpacingToken/index.js.flow";
export type Props = {|
...Globals,
+children: React.Node,
+onGoBack?: (ev: SyntheticEvent<HTMLElement>) => void | Promise<any>,
+backHref?: string,
+goBackTitle?: React.Node,
...spaceAfter,
|};
declare export default React.ComponentType<Props>;
declare export var BreadcrumbsItem: BreadcrumbsItemType;