lucid-ui
Version:
A UI component library from AppNexus.
16 lines (15 loc) • 682 B
JavaScript
import React from 'react';
import createClass from 'create-react-class';
import { LineChart, Button } from '../../../index';
const { EmptyStateWrapper, EmptyStateWrapper: { Title, Body }, } = LineChart;
export default createClass({
render() {
return (React.createElement(LineChart, { data: [], yAxisFields: ['blueberries'], width: 800 },
React.createElement(EmptyStateWrapper, null,
React.createElement(Title, null, "Something went wrong."),
React.createElement(Body, { style: {
fontSize: '12px',
} },
React.createElement(Button, null, "Action")))));
},
});