@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) • 550 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";
declare module "@kiwicom/orbit-components/lib/Button";
type Type = "primary" | "secondary" | "critical" | "primarySubtle" | "criticalSubtle" | "white";
export interface Props extends ButtonCommonProps {
readonly type?: Type;
readonly size?: Size;
}
declare const Button: React.FunctionComponent<Props>;
export { Button, Button as default };