UNPKG

@jigoooo/shared-ui

Version:

A reusable React component library and design system with TypeScript support, built on Vite for seamless integration and optimized performance.

14 lines (13 loc) 784 B
import { Transition, Variants } from 'framer-motion'; import { CSSProperties } from 'react'; import { ButtonType } from '../model/button-type.ts'; import { Theme } from '../../../theme'; export declare const defaultButtonStyle: CSSProperties; export declare function getButtonWithTypeStyles(theme: Theme): Record<ButtonType, CSSProperties>; export declare const buttonDisabledStyle: Record<ButtonType, CSSProperties>; export declare const getButtonAnimationBackgroundColor: (buttonStyle: ButtonType, animationColor: string) => { hoverBackgroundColor: string; tapBackgroundColor: string; }; export declare const getDefaultButtonVariants: (hoverBackgroundColor: string, tapBackgroundColor: string) => Variants; export declare const getDefaultButtonTransition: () => Transition;