@altiore/twa / TwaLoaderProps
The props type of TwaLoaderProps.
• Optional
isTWApp: null
| Element
React Element will be shown in case if Telegram Web Application was successfully loaded and ready to use
Default Value
Set to null
by default
• Optional
loading: null
| Element
React Element will be shown wile Telegram Web Application loading (preparing for usage)
Default Value
Set to null
by default
• Optional
noTWApp: null
| Element
React Element will be shown in case if application was loaded outside Telegram
Default Value
Set to null
by default
• Optional
oldTWApp: null
| Element
React Element will be shown in case if Telegram Web Application non-supported version (less, then versionAtLeast provided)
Default Value
Set to null
by default
• Optional
versionAtLeast: string
| number
Minimum supported version by current application. Using for isTWApp|noTWApp components