UNPKG

@communityox/ox_lib

Version:

JS/TS wrapper for ox_lib exports

16 lines (15 loc) 724 B
import type { IconName, IconPrefix } from '@fortawesome/fontawesome-common-types'; import type { Properties as CSSProperties } from 'csstype'; type IconAnimation = 'spin' | 'spinPulse' | 'spinReverse' | 'pulse' | 'beat' | 'fade' | 'beatFade' | 'bounce' | 'shake'; interface OptionsProps { position?: 'right-center' | 'left-center' | 'top-center' | 'bottom-center'; icon?: IconName | [IconPrefix, IconName]; iconColor?: string; iconAnimation?: IconAnimation; style?: CSSProperties; alignIcon?: 'top' | 'center'; } export declare const showTextUI: (text: string, options?: OptionsProps) => void; export declare const hideTextUI: () => void; export declare const isTextUIOpen: () => boolean; export {};