UNPKG

@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) 617 B
// @flow /* DOCUMENTATION: https://orbit.kiwi/components/breadcrumbs/ */ import * as React from "react"; import type { Globals, Translation } from "../common/common.js.flow"; import typeof BreadcrumbsItemType from "./BreadcrumbsItem"; import type { spaceAfter } from "../common/getSpacingToken"; export type Props = {| ...Globals, +children: React.Node, +onGoBack?: (ev: SyntheticEvent<HTMLElement>) => void | Promise<any>, +backHref?: string, +goBackTitle?: Translation, ...spaceAfter, |}; declare export default React.ComponentType<Props>; declare export var BreadcrumbsItem: BreadcrumbsItemType;