Commit b8c72e2
authored
[docs] Make
## Description
This PR does 2 things:
- Removes old `HeaderWithBadge` component, which was replaced by
`HeaderWithBadges`
- Makes `platforms` prop optional, so it is possible to add only version
badge.
> [!NOTE]
> `HeaderWithBadges` already treats `platforms` as optional with
[optional
chaining](https://github.com/software-mansion/react-native-gesture-handler/blob/554e66821e382c34c9187cc633a4f55f57c8d533/packages/docs-gesture-handler/src/components/HeaderWithBadges/index.tsx#L79).
## Test plan
Read docs 🤓platforms optional parameter (#3992)1 parent 554e668 commit b8c72e2
2 files changed
Lines changed: 1 addition & 92 deletions
Lines changed: 0 additions & 91 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments