mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-24 11:58:35 +00:00
feat(package): interface definitions
This commit is contained in:
1 parent
863ac03ca3
commit
4f0cc4c7c5
17 files changed
+355
No files matched your search
@@ -0,0 +1,12 @@
|
||||
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();
|
||||
Reference in new issue
Block a user