Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

react tabs

import { Tab, Tabs, TabList, TabPanel } from 'react-tabs';
import 'react-tabs/style/react-tabs.css';

export default () => (
  <Tabs>
    <TabList>
      <Tab>Title 1</Tab>
      <Tab>Title 2</Tab>
    </TabList>

    <TabPanel>
      <h2>Any content 1</h2>
    </TabPanel>
    <TabPanel>
      <h2>Any content 2</h2>
    </TabPanel>
  </Tabs>
);
Comment

PREVIOUS NEXT
Code Example
Javascript :: next auth session callback 
Javascript :: isprime js 
Javascript :: nodejs watermark image 
Javascript :: jquery disable all forms 
Javascript :: escaped json to json javascript 
Javascript :: convert form data request to json laravel 
Javascript :: javascript mod 
Javascript :: @apify/http-request 
Javascript :: javascript remove duplicate objects from array es6 
Javascript :: int val javascript 
Javascript :: how to use javascript in flutter 
Javascript :: for loop in shopify liquid template 
Javascript :: check if the element exists in javascript 
Javascript :: radio group react 
Javascript :: angular 9 radio button checked 
Javascript :: python convert json to csv 
Javascript :: coffeescript to javascript 
Javascript :: Change the text inside the <p tag: 
Javascript :: how to access key value pair in javascript 
Javascript :: Square Every Digit 
Javascript :: lodash clonedeep 
Javascript :: node sudo nvm 
Javascript :: .text javascript 
Javascript :: Material-ui add circle outline icon 
Javascript :: parse date without timezone javascript 
Javascript :: Detecting by how much user has scrolled | get how much i scroll in js 
Javascript :: fizzbuzz javascript 
Javascript :: dropzone remove error file 
Javascript :: join array of objects javascript 
Javascript :: react timer 
ADD CONTENT
Topic
Content
Source link
Name
6+7 =