@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.
21 lines (16 loc) • 530 B
Flow
// @flow
/*
DOCUMENTATION: https://orbit.kiwi/components/socialbutton/
*/
import * as React from "react";
import type { ButtonCommonProps, Size } from "../primitives/ButtonPrimitive/index.js.flow";
export type Type = "apple" | "facebook" | "google" | "twitter" | "email";
export type Props = {|
+type?: Type,
+size?: Size,
...$Diff<
ButtonCommonProps,
{| +iconLeft?: React.Node, +iconRight?: React.Node, +circled?: boolean |},
>,
|};
declare export default React.AbstractComponent<Props, HTMLButtonElement>;