@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.
25 lines (21 loc) • 463 B
Flow
// @flow
/*
DOCUMENTATION: https://orbit.kiwi/components/skipnavigation
*/
import * as React from "react";
type Actions = {|
+name?: string,
+link?: string,
+onClick?: () => {||} | void | Promise<any>,
|};
export type MappedOptions = {|
+key?: string,
+value: string | number,
+label?: string,
+disabled?: boolean,
|};
export type Props = {|
actions?: Actions[],
feedbackUrl?: string,
|};
declare export default React.ComponentType<Props>;