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.

45 lines 1.33 kB
import * as React from "react"; import type { Props } from "./types"; /** * @orbit-doc-start * README * ---------- * # StopoverArrow * * To implement StopoverArrow component into your project you'll need to add the import: * * ```jsx * import StopoverArrow from "@kiwicom/orbit-components/lib/StopoverArrow"; * ``` * * After adding import into your project you can use it simply like: * * ```jsx * <StopoverArrow stops="2" dataTest="test" /> * ``` * * ## Props * * Table below contains all types of the props available in StopoverArrow component. * * | Name | Type | Default | Description | * | :------- | :-------------- | :------ | :-------------------------------------------------- | * | dataTest | `string` | | Optional prop for testing purposes. | * | id | `string` | | Set `id` for `StopoverArrow` | * | stops | [`enum`](#enum) | `"0"` | Specify how many stops should the component render. | * * ### enum * * | stops | * | :---- | * | `"0"` | * | `"1"` | * | `"2"` | * | `"3"` | * * * @orbit-doc-end */ declare const StopoverArrow: ({ stops, dataTest, id }: Props) => React.JSX.Element; export default StopoverArrow; //# sourceMappingURL=index.d.ts.map