joyent-portal/ui/src/components/tab
2016-10-27 11:15:03 +01:00
..
index.js refactor <Tab> to avoid min-height hack 2016-10-27 11:15:03 +01:00
readme.md implement and H H H H H H H H H H H H H H components 2016-10-26 17:33:40 +01:00
style.css refactor <Tab> to avoid min-height hack 2016-10-27 11:15:03 +01:00

<Tab>

demo

const React = require('react');
const ReactDOM = require('react-dom/server');
const Base = require('../base');
const Container = require('../container');
const Row = require('../row');
const Column = require('../column');
const Tabs = require('../tabs');
const Tab = require('./index');
const styles = require('./style.css');

nmodule.exports = ReactDOM.renderToString(
  <Base>
    <Row>
      <Column xs={12}>
        <Tabs name='my-tab-group'>
          <Tab title='Containers'>
            <h1>Containers</h1>
          </Tab>
          <Tab title='Users'>
            <h1>User</h1>
          </Tab>
        </Tabs>
      </Column>
    </Row>
  </Base>
);