@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.
18 lines (14 loc) • 412 B
Flow
// @flow
import * as React from "react";
import type { Globals, Component } from "../../common/common.js.flow";
export type Props = {|
...Globals,
+active?: boolean,
+component?: Component,
+children: React.Node,
+href?: string,
+id?: string,
+contentKey?: number,
+onClick?: (ev: SyntheticEvent<HTMLLinkElement>) => void | Promise<any>,
|};
declare export default React.ComponentType<Props>;