mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-16 22:46:03 +01:00
13 lines
492 B
TypeScript
13 lines
492 B
TypeScript
|
|
import { IconLookup, IconName, IconPrefix } from '@fortawesome/fontawesome-common-types';
|
||
|
|
import { CSSProperties } from 'react';
|
||
|
|
|
||
|
|
interface OptionsProps {
|
||
|
|
position?: 'right-center' | 'left-center' | 'top-center';
|
||
|
|
icon?: IconName | [IconPrefix, IconName];
|
||
|
|
iconColor?: string;
|
||
|
|
style?: CSSProperties;
|
||
|
|
}
|
||
|
|
export const showTextUI = (text: string, options?: OptionsProps): void => exports.ox_lib.showTextUI(text, options);
|
||
|
|
|
||
|
|
export const hideTextUI = (): void => exports.ox_lib.hideTextUI();
|