Skip to content

mannis17/react-tabs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Tabs

Simple React Tabs using the new react ContextAPI to manage changes active tabs or not. And there is no need to add tabs container you just add a tab component to handle everythings.

Introduction

This project done using ReactJS and glamorous styling to add a simple tabs component to your project.

Examples

  <Tabs
    activeTab={{
      id: "tab1"
    }}
  >
    <React.Fragment>
      <Tabs.Tab id="tab1" title="Tab 1">
        <glamorous.Div padding={20}>This is tab 1</glamorous.Div>
      </Tabs.Tab>
      <Tabs.Tab id="tab2" title="Tab 2">
        <glamorous.Div padding={20}>This is tab 2</glamorous.Div>
      </Tabs.Tab>
    </React.Fragment>
  </Tabs>

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

  • Yazan Aabed
  • See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • This component to learn more about react
  • I will add a unit tests for it ASAP

About

Simple React Tabs using the new react ContextAPI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 88.4%
  • HTML 11.6%