UNPKG

fui-fancyui

Version:
10 lines (9 loc) 460 B
import { CSSProp } from 'styled-components'; export type TTextOverlayPositions = 'top-left' | 'top-right' | 'center' | 'bottom-left' | 'bottom-right' | 'bottom-center' | 'top-center'; export type TFancyTextOverlay = { children?: React.ReactNode; textChildren?: React.ReactNode; position?: TTextOverlayPositions; externalStyle?: CSSProp; }; export type TImageVideoOverlayWithHTMLAttrs = TFancyTextOverlay & React.HTMLAttributes<HTMLDivElement>;