Text Ui

lib.showTextUI(text, options)
  • text: string

  • options?: table

    • position?: 'right-center' or 'left-center' or 'top-center'

      • Default: 'right-center'

    • icon?: string or table (array)

    • iconColor?: string

    • style?: React.CSSProperties

lib.hideTextUI

lib.hideTextUI()

Usage Example

lib.showTextUI('[E] - Fuel vehicle')

Custom styling

Last updated