1.0.37 • Published 8 years ago
toggler v1.0.37
Toggler
Quick start: SimpleMap
import React from 'react';
import { Component } from 'react';
import { Tabs, Pane } from 'toggler';
export default class App extends Component {
render() {
return (
<div id='tabs-container'>
<Tabs selected={0}>
<Pane label='First'>
<div>
<p> Content for the first tab </p>
</div>
</Pane>
<Pane label='Second'>
<div>
<p> Content for the second tab </p>
</div>
</Pane>
<Pane label='Third'>
<div>
<p> Content for the third tab </p>
</div>
</Pane>
</Tabs>
</div>
);
}
}
Working example
The code is located under example folder.
First, clone the project.
git clone git@github.com:nicolas-amabile/toggler.git
Install node
. Then,
cd toggler/example/
npm install
npm start
Then open http://localhost:8080/webpack-dev-server/.
Usage
npm install --save toggler
All components are available on the top-level export.
import { Tabs, Pane } from 'toggler';
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
1.0.37
8 years ago
1.0.35
8 years ago
1.0.33
8 years ago
1.0.31
8 years ago
1.0.30
8 years ago
1.0.29
8 years ago
1.0.27
8 years ago
1.0.26
8 years ago
1.0.25
8 years ago
1.0.24
8 years ago
1.0.23
8 years ago
1.0.20
8 years ago
1.0.19
8 years ago
1.0.18
8 years ago
1.0.17
8 years ago
1.0.16
8 years ago
1.0.15
8 years ago
1.0.14
8 years ago
1.0.13
8 years ago
1.0.11
8 years ago
1.0.10
8 years ago
1.0.9
8 years ago
1.0.8
8 years ago
1.0.7
8 years ago
1.0.6
8 years ago
1.0.5
8 years ago
1.0.4
8 years ago
1.0.3
8 years ago
1.0.2
8 years ago
1.0.1
8 years ago
1.0.0
8 years ago
2.0.0
8 years ago