@jigoooo/shared-ui
Version:
A reusable React component library and design system with TypeScript support, built on Vite for seamless integration and optimized performance.
20 lines (19 loc) • 948 B
TypeScript
import { Transition } from 'framer-motion';
import { CSSProperties } from 'react';
import { InputType } from '../model/input-type.ts';
export declare const defaultInputStyle: CSSProperties;
export declare const inputWithTypeStyles: Record<InputType, CSSProperties>;
export declare const inputDisabledStyles: Record<InputType, CSSProperties>;
export declare const defaultInputTransition: Transition;
export declare const getInputStyle: ({ style, inputType, hasStartDecorator, hasEndDecorator, startDecoratorWidth, endDecoratorWidth, disabled, disabledStyle, startDecoratorOffset, endDecoratorOffset, }: {
style?: CSSProperties;
inputType: InputType;
hasStartDecorator: boolean;
hasEndDecorator: boolean;
startDecoratorWidth: number;
endDecoratorWidth: number;
disabled: boolean;
disabledStyle?: CSSProperties;
startDecoratorOffset?: string | number;
endDecoratorOffset?: string | number;
}) => CSSProperties;