lucid-ui
Version:
A UI component library from AppNexus.
15 lines (14 loc) • 562 B
JavaScript
import React from 'react';
import createClass from 'create-react-class';
import { BarChart, LoadingIndicator } from '../../../index';
export default createClass({
render() {
return (React.createElement(LoadingIndicator, { isLoading: true, overlayKind: 'light' },
React.createElement(BarChart, { width: 750, data: [
{ x: '2015-01-01', y: 1 },
{ x: '2015-01-02', y: 2 },
{ x: '2015-01-03', y: 3 },
{ x: '2015-01-04', y: 5 },
] })));
},
});