const React = require('react'); const { storiesOf, // action, // linkTo } = require('@kadira/storybook'); const { Base, Column, Container, MiniMetric: { MiniMetricGraph, MiniMetricMeta, MiniMetricTitle, MiniMetricSubtitle, MiniMetricView }, Row, } = require('../src/'); const MiniMetricData = require('../src/components/list/mini-metric-data'); const styles = { base: { backgroundColor: '#FFEBEE' }, row: { backgroundColor: '#EF5350' }, column: { backgroundColor: '#B71C1C', textAlign: 'center', color: 'white' } }; storiesOf('Grid', module) .add('Row and Column', () => ( 1 2 3 )); storiesOf('Metrics', module) .add('Mini Metric', () => ( Memory: 54% (1280/3000 MB) Memory: 54% (1280/3000 MB) Memory: 54% (1280/3000 MB) ));