@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 (16 loc) • 497 B
text/typescript
// Type definitions for @kiwicom/orbit-components
// Project: http://github.com/kiwicom/orbit
import type {
ButtonCommonProps,
Size,
DownloadWithHrefConditionalProps,
FullWidthConditionalProps,
} from "../primitives/ButtonPrimitive/types";
export type Type = "primary" | "secondary" | "critical";
export type Props = {
readonly compact?: boolean;
readonly type?: Type;
readonly size?: Size;
} & ButtonCommonProps &
FullWidthConditionalProps &
DownloadWithHrefConditionalProps;