UNPKG

@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.

30 lines (24 loc) 639 B
/* eslint-disable flowtype/require-exact-type */ // @flow import * as React from "react"; import type { HeightProps, Size } from ".."; import type { ThemeProps } from "../../../defaultTheme"; export type GetCommonPropsReturn = {| width?: string, padding: string, fontWeight: string, contentAlign: string, contentWidth: string, ...HeightProps, |}; export type GetCommonProps = ({ width?: string, size?: Size, contentAlign?: string, contentWidth?: string, iconRight?: React.Node, iconLeft?: React.Node, children?: React.Node, ...ThemeProps, }) => GetCommonPropsReturn; declare export default GetCommonProps;