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.

18 lines (17 loc) 906 B
import { CSSProperties } from 'react'; import { LinkVariant } from '../model/link-type.ts'; export declare const defaultLinkSize = 16; export declare const defaultLinkVariant: LinkVariant; export declare const defaultUnderline = "hover"; export declare const getLinkBaseStyle: ({ disabled, variant, size, underline, style, remPx, }: { disabled: boolean; variant: LinkVariant; size: number | string; underline: "always" | "hover" | "none"; style?: CSSProperties; remPx: number; }) => CSSProperties; export declare const getLinkHoverStyle: (variant: LinkVariant, underline: "always" | "hover" | "none") => CSSProperties; export declare const getLinkFocusStyle: () => CSSProperties; export declare const getExternalIconStyle: (size: number | string, remPx: number) => CSSProperties; export declare const getLoadingSpinnerStyle: (size: number | string, remPx: number) => CSSProperties;