Closed joaosouz4dev closed 2 years ago
how to dynamically change the label according to a variable defined in a child component of a page without reloading the page and causing an infinite loop?
const [label, setLabel] = useState('nice'); <TabScreen label={label} icon="beaker-check"> <component /> </TabScreen>
I'm running into this problem as well. Were you able to solve it? Thanks
how to dynamically change the label according to a variable defined in a child component of a page without reloading the page and causing an infinite loop?