@kiwicom/orbit-components
Version:
<div align="center"> <a href="https://orbit.kiwi" target="_blank"> <img alt="orbit-components" src="https://orbit.kiwi/wp-content/uploads/2018/08/orbit-components.png" srcset="https://orbit.kiwi/wp-content/uploads/2018/08/orbit-components@2x.png 2x"
25 lines (19 loc) • 553 B
Flow
// @flow
import type { Globals } from "../common/common.js.flow";
type Type = "primary" | "secondary";
export type Props = {|
+children: React$Node,
+href?: string,
+icon?: React$Node,
+onClick?: (SyntheticEvent<HTMLLinkElement>) => void | Promise<any>,
+external?: boolean,
+type?: Type,
+rel?: string,
...Globals,
|};
type styledTextLink = {
tokens?: { [key: string]: string | number },
type?: Type,
};
declare export var StyledTextLink: React$ComponentType<styledTextLink>;
declare export default React$ComponentType<Props>;