Add docs
This commit is contained in:
11
docs/patterns/tg-miniapps.md
Normal file
11
docs/patterns/tg-miniapps.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# Telegram Mini Apps
|
||||
|
||||
## Recommended config
|
||||
|
||||
```tsx
|
||||
<UIProvider config={{ platform: "tg", skin: "ios", theme: "dark" }} />
|
||||
```
|
||||
|
||||
## Safe areas
|
||||
|
||||
Используйте `--safe-bottom`, чтобы TabBar/WriteBar не упирались в системные зоны.
|
||||
Reference in New Issue
Block a user