UNPKG

fui-fancyui

Version:
23 lines (22 loc) 941 B
import { HTMLAttributes } from 'react'; import { TThemeArrayOrValueCSS } from '../../../design/designFunctions/arrayToCssValues'; import { TLayer } from '../../../types/TLayer'; import { TUiColorsNotTransparent } from '../../../types/TUiColorsNotTransparent'; import { TUiColorsSystemMessage } from '../../../types/TUiColorsSystemMessage'; import { CSSProp } from 'styled-components'; export type TDirection = 'horizontal' | 'vertical'; export type TFadeDirection = 'start' | 'end' | 'both'; export type TFancyLine = { direction?: TDirection; thickness?: string; length?: string; margin?: TThemeArrayOrValueCSS; themeType?: TUiColorsNotTransparent; systemMessageType?: TUiColorsSystemMessage; isActive?: boolean; layer?: TLayer; externalStyle?: CSSProp; fadingOut?: boolean; fadeDirection?: TFadeDirection; }; export type TFancyLineWithHTMLAttributes = TFancyLine & HTMLAttributes<HTMLHRElement>;