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.

23 lines (22 loc) 648 B
import type { Theme } from "../../defaultTheme"; import type { Type } from "../types"; interface Output { background: string; backgroundHover: string; backgroundActive: string; backgroundFocus: string | null; foreground: string; foregroundHover: string; foregroundActive: string; boxShadow: string | null; boxShadowActive: string | null; boxShadowFocus: string | null; contentAlign: "start" | "center" | "end"; contentWidth: string; } declare const getButtonStyles: ({ theme, disabled, type, }: { theme: Theme; disabled: boolean; type: Type; }) => Output; export default getButtonStyles;