We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
"@ui-kitten/components": "5.3.1", "@ui-kitten/eva-icons": "5.3.1", "@ui-kitten/metro-config": "5.3.1",
const Tabs = () => { return ( <React.Fragment> {EshopsData.map((_, idx) =>( <Tab title={'aaa-'+idx}> <Layout style={styles.tabContainer}> <Text category='h5'>aaaa</Text> </Layout> </Tab>))} </React.Fragment> ); } <TabView selectedIndex={selectedIndex} shouldLoadComponent={shouldLoadComponent} onSelect={index => setSelectedIndex(index)} children={<Tabs />} > </TabView>
pls help me, tell me how to fix it?
The text was updated successfully, but these errors were encountered:
okay. i solved it. like this:
<TabView selectedIndex={selectedIndex} shouldLoadComponent={shouldLoadComponent} onSelect={index => setSelectedIndex(index)} children={EshopsData.map(({category}, idx) =>( <Tab title={category} key={idx}> <Layout style={styles.tabContainer}> <Text category='h5'>aaaa</Text> </Layout> </Tab>))} > </TabView>
Sorry, something went wrong.
No branches or pull requests
馃挰 hi, how to generate multiple tab in tabview
UI Kitten and Eva version
pls help me, tell me how to fix it?
The text was updated successfully, but these errors were encountered: