UNPKG

@xcritical/button

Version:
8 lines (7 loc) 1.02 kB
import { FlattenInterpolation } from 'styled-components'; import { IThemeNamespace } from '@xcritical/theme'; import { ButtonTheme } from '../interfaces'; export declare const buttonTheme: import("micro-memoize").MicroMemoize.Memoized<(theme?: IThemeNamespace<ButtonTheme>, propertyPath?: string | string[] | undefined) => ButtonTheme | any>; export declare const buttonAppearanceTheme: import("micro-memoize").MicroMemoize.Memoized<(theme: IThemeNamespace<ButtonTheme> | undefined, appearanceName: string, baseAppearance: string, propertyPath?: string | string[] | undefined) => ButtonTheme | any>; export declare const getItemInteractiveStyles: import("micro-memoize").MicroMemoize.Memoized<(disabled?: boolean, selected?: boolean) => FlattenInterpolation<any>>; export declare const getButtonStyles: import("micro-memoize").MicroMemoize.Memoized<(theme: IThemeNamespace<ButtonTheme>, baseAppearance: string, appearance: string, spacing: string, ghost: boolean, shouldFitContent: boolean) => Record<string, any>>;