@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.
22 lines (17 loc) • 488 B
TypeScript
// Type definitions for @kiwicom/orbit-components
// Project: http://github.com/kiwicom/orbit
import type { ButtonCommonProps } from "../../primitives/ButtonPrimitive/types";
export type Type =
| "info"
| "secondary"
| "success"
| "warning"
| "critical"
| "infoSubtle"
| "successSubtle"
| "warningSubtle"
| "criticalSubtle";
type OmittedButtonCommonProps = Omit<ButtonCommonProps, "size">;
export type Props = {
readonly type?: Type;
} & OmittedButtonCommonProps;