@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 (19 loc) • 586 B
TypeScript
// Type definitions for @kiwicom/orbit-components
// Project: http://github.com/kiwicom/orbit
import type * as Common from "../common/types";
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;
} & Common.Globals &
Common.SpaceAfter &
ButtonCommonProps &
FullWidthConditionalProps &
DownloadWithHrefConditionalProps;