Last updated 1 year ago
lib.showTextUI(text, options)
text: string
string
options?: table
table
position?: 'right-center' or 'left-center' or 'top-center'
'right-center'
'left-center'
'top-center'
Default: 'right-center'
icon?: string or table (array)
array
iconColor?: string
style?: React.CSSProperties
lib.hideTextUI()
lib.showTextUI('[E] - Fuel vehicle')
lib.showTextUI('[E] - Pick apple', { position = "top-center", icon = 'hand', style = { borderRadius = 0, backgroundColor = '#48BB78', color = 'white' } })