I had create a new react native project by init a tabs (TypeScript) .this example has 2 tabs , each tab content in a tsx file that just have a single
export default function
and how can I use sates in that function .
and how can I use sates in that function .