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.

35 lines (34 loc) 1.36 kB
import { CSSProperties } from 'react'; export declare const defaultRadioSize = 1.4; export declare const defaultLabelColor = "#333333"; export declare const defaultBorderColor = "#cccccc"; export declare const defaultDisabledColor = "#cccccc"; export declare const getRadioLabelStyle: ({ style, disabledValue, cursor, }: { style?: CSSProperties; disabledValue: boolean; cursor: string; }) => CSSProperties; export declare const getRadioInputStyle: () => CSSProperties; export declare const getRadioIconStyle: ({ size, iconStyle, }: { size: number; iconStyle?: CSSProperties; }) => CSSProperties; export declare const getRadioDotStyle: ({ indicatorSize, disabledValue, effectiveColor, disabledColor, dotStyle, }: { indicatorSize: number; disabledValue: boolean; effectiveColor: string; disabledColor?: string; dotStyle?: CSSProperties; }) => CSSProperties; export declare const getRadioBorderColor: ({ disabledValue, isSelected, primaryColor, borderColor, disabledColor, }: { disabledValue: boolean; isSelected: boolean; primaryColor: string; borderColor?: string; disabledColor?: string; }) => string; export declare const getRadioLabelTextStyle: ({ disabledValue, labelColor, disabledColor, }: { disabledValue: boolean; labelColor?: string; disabledColor?: string; }) => CSSProperties;