@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.
24 lines (20 loc) • 442 B
Flow
// @flow
/*
DOCUMENTATION: https://orbit.kiwi/components/skiplink
*/
import * as React from "react";
type Actions = {|
+name: string,
+href?: string,
+onClick?: () => {||} | void | Promise<any>,
|};
export type MappedOptions = {|
+value: string | number,
+buttonLabel?: string,
+disabled?: boolean,
|};
export type Props = {|
links: Actions[],
buttonLabel?: string,
|};
declare export default React.ComponentType<Props>;