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.

27 lines (20 loc) 612 B
// @flow // Type definitions for @kiwicom/orbit-components // Project: http://github.com/kiwicom/orbit import * as React from "react"; import { ButtonCommonProps } from "../../primitives/ButtonPrimitive/index"; declare module "@kiwicom/orbit-components/lib/Alert/AlertButton"; type Type = | "info" | "success" | "warning" | "critical" | "infoSubtle" | "successSubtle" | "warningSubtle" | "criticalSubtle"; export interface Props extends ButtonCommonProps { readonly type?: Type; } declare const AlertButton: React.FunctionComponent<Props>; export { AlertButton, AlertButton as default };