2.0.5 • Published 4 years ago
@phoenixreisen/tabs v2.0.5
Phoenix Tabs
Phoenix "Web Tabs"-Komponente auf Mithril-Basis.
Die Komponente ist Teil des Phoenix Reisen Design-Systems.
Installation
Mithril wird benötigt.
npm install --save @phoenixreisen/tabs
Anwendung
// entweder CommonJS
const Tabs = require('@phoenixreisen/tabs');
// oder ES6+
import Tabs from '@phoenixreisen/tabs';
Aufruf
// Hyperscript bzw. Javascript
m(Tabs,
{ tabs: ['Tab 1', 'Tab 2'] },
[ m('div.tab1'), m('div.tab2') ]
);
// JSX
<Tabs tabs={['Tab 1', 'Tab 2']}>
{[
<div class="tab1">Tab 1</div>,
<div class="tab2">Tab 2</div>,
]}
</Tabs>
Test
npm install
npm run test
Deployment
npm version [major|minor|patch] # increase version x.x.x => major.minor.patch
npm publish # upload to npm
git push
2.0.5
4 years ago
2.0.4
5 years ago
2.0.3
5 years ago
2.0.2
5 years ago
2.0.1
5 years ago
2.0.0
5 years ago
1.1.15
6 years ago
1.1.14
6 years ago
1.1.13
6 years ago
1.1.12
6 years ago
1.1.11
6 years ago
1.1.10
6 years ago
1.1.9
6 years ago
1.1.8
6 years ago
1.1.6
6 years ago
1.1.5
6 years ago
1.1.4
6 years ago
1.1.3
7 years ago
1.1.2
7 years ago
1.1.1
7 years ago
1.1.0
7 years ago
1.0.2
7 years ago
1.0.0
7 years ago