Skip to content

Latest commit

 

History

History
71 lines (38 loc) · 1.44 KB

TwaLoaderProps.md

File metadata and controls

71 lines (38 loc) · 1.44 KB

@altiore/twa / TwaLoaderProps

Interface: TwaLoaderProps

The props type of TwaLoaderProps.

Table of contents

Properties

Properties

isTWApp

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


loading

Optional loading: null | Element

React Element will be shown wile Telegram Web Application loading (preparing for usage)

Default Value

Set to null by default


noTWApp

Optional noTWApp: null | Element

React Element will be shown in case if application was loaded outside Telegram

Default Value

Set to null by default


oldTWApp

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


versionAtLeast

Optional versionAtLeast: string | number

Minimum supported version by current application. Using for isTWApp|noTWApp components