Skip to content

Commit

Permalink
docs(README): remove useless step
Browse files Browse the repository at this point in the history
  • Loading branch information
Razzwan committed Nov 13, 2023
1 parent 44a28fb commit 1eec4ff
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,9 @@ Also, you can look demo [source code](./demo/src).

## 🔧 Installation & Get started

1️⃣  **Foremost**, you have to do [initializing web apps](https://core.telegram.org/bots/webapps#initializing-mini-apps) step, because package has dependency of Telegram Web App context.
1️⃣  **Install** by running: `npm i @altiore/twa --save`. Today we support React^18.

2️⃣  **Install** by running: `npm i @altiore/twa --save`. Today we support React^18.

3️⃣  **Try it out** by writing code.
2️⃣  **Try it out** by writing code.

```jsx
import { MainButton, useShowPopup } from '@altiore/twa';
Expand Down Expand Up @@ -46,7 +44,7 @@ const Content = () => {
This component controls the back button, which can be displayed in the header of the Web App in the Telegram interface.

- [TwaLoader](./docs/README.md#twaloader) -
This component helps to show content dependent on was TWA script loaded or not
This component helps to show content dependent on was TWA application loaded or not

- [WebAppProvider](./docs/README.md#webappprovider) -
WebAppProvider provide context with WebApp for components and hooks.
Expand Down

0 comments on commit 1eec4ff

Please sign in to comment.