@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.
11 lines • 688 B
TypeScript
import type { ButtonCommonProps, DownloadWithHrefConditionalProps, FullWidthConditionalProps, Size } from "../primitives/ButtonPrimitive/types";
export type Type = "primary" | "secondary" | "critical" | "primarySubtle" | "criticalSubtle" | "white" | "bundleBasic" | "bundleMedium" | "bundleTop";
export type ButtonStates = "default" | "hover" | "active" | "focus";
type OmittedButtonCommonProps = Omit<ButtonCommonProps, "className">;
interface ButtonProps extends OmittedButtonCommonProps {
readonly type?: Type;
readonly size?: Size;
}
export type Props = ButtonProps & FullWidthConditionalProps & DownloadWithHrefConditionalProps;
export {};
//# sourceMappingURL=types.d.ts.map