@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.
19 lines (12 loc) • 598 B
TypeScript
// Type definitions for @kiwicom/orbit-components
// Project: http://github.com/kiwicom/orbit
import * as React from "react";
import { ButtonCommonProps, Size } from "../primitives/ButtonPrimitive";
export type Type = "apple" | "facebook" | "google" | "twitter";
type OmittedButtonCommonProps = Omit<ButtonCommonProps, "iconLeft" | "iconRight" | "circled">;
export type Props = {
readonly type?: Type;
readonly size?: Size;
} & OmittedButtonCommonProps;
declare const SocialButton: React.RefForwardingComponent<HTMLButtonElement, Props>;
export { SocialButton, SocialButton as default };