1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-14 07:10:05 +02:00
copilot/ui/src/components/tabs
2016-12-06 10:25:20 +00:00
..
tab fix ui/docs compilation 2016-12-06 10:25:20 +00:00
index.js 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
readme.md move /tab to /tabs/tab 2016-12-05 20:15:10 +00:00
style.css Css linting (#66) 2016-11-02 17:34:08 +00:00

<Tabs>

demo

const React = require('react');
const ReactDOM = require('react-dom/server');
const Base = require('../base');
const Row = require('../row');
const Column = require('../column');
const Tabs = require('./index');
const Tab = require('./tab');
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>
);