mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-16 22:46:03 +01:00
14 lines
349 B
TypeScript
14 lines
349 B
TypeScript
import { IconProp } from '@fortawesome/fontawesome-svg-core';
|
|
import React from 'react';
|
|
|
|
export type TextUiPosition = 'right-center' | 'left-center' | 'top-center';
|
|
|
|
export interface TextUiProps {
|
|
text: string;
|
|
position?: TextUiPosition;
|
|
icon?: IconProp;
|
|
iconColor?: string;
|
|
style?: React.CSSProperties;
|
|
alignIcon?: 'top' | 'center';
|
|
}
|