@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) • 592 B
Flow
// @flow
import * as React from "react";
import type { StyledComponent } from "styled-components";
import type { Globals, RefType } from "../common/common.js.flow";
export type Props = {|
className?: string,
children: React.Node,
filled?: boolean,
disabled?: boolean,
required?: boolean,
id?: string,
error?: boolean,
help?: boolean,
inlineLabel?: boolean,
iconRef?: RefType,
labelRef?: RefType,
onMouseEnter?: () => void | Promise<any>,
onMouseLeave?: () => void | Promise<any>,
...Globals,
|};
declare export default StyledComponent<Props, any, HTMLElement>;