Search - extra tabs (#3408)

* add extra tab to search and translate tab names

* add feature gate

* flatten pager children

* Revert "flatten pager children"

This reverts commit 0050d42558c2c9b7bc4f2ad2df4ae2908fa26f65.

* have pager children as array

* move gate to custom hook

* bundle titles and pages together

* remove comment

* Fix a crash

* Use Views as children

---------

Co-authored-by: dan <dan.abramov@gmail.com>
This commit is contained in:
Samuel Newman 2024-04-10 16:02:13 +01:00 committed by GitHub
parent b5f5777939
commit 353a963920
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 94 additions and 24 deletions

3
src/lib/statsig/gates.ts Normal file
View file

@ -0,0 +1,3 @@
import {useGate} from './statsig'
export const useNewSearchGate = () => useGate('new_search')