UNPKG

lucid-ui

Version:

A UI component library from AppNexus.

20 lines 801 B
import React from 'react'; import createClass from 'create-react-class'; import { LineChart, Button } from '../../../index'; var EmptyStateWrapper = LineChart.EmptyStateWrapper, _LineChart$EmptyState = LineChart.EmptyStateWrapper, Title = _LineChart$EmptyState.Title, Body = _LineChart$EmptyState.Body; export default createClass({ render: function render() { return /*#__PURE__*/React.createElement(LineChart, { data: [], yAxisFields: ['blueberries'], width: 800 }, /*#__PURE__*/React.createElement(EmptyStateWrapper, null, /*#__PURE__*/React.createElement(Title, null, "Something went wrong."), /*#__PURE__*/React.createElement(Body, { style: { fontSize: '12px' } }, /*#__PURE__*/React.createElement(Button, null, "Action")))); } });