lucid-ui
Version:
A UI component library from AppNexus.
28 lines • 2.25 kB
JavaScript
import React from 'react';
import createClass from 'create-react-class';
import { SplitHorizontal } from '../../../index';
export default createClass({
getInitialState: function getInitialState() {
return {
isExpanded: true
};
},
handleToggle: function handleToggle() {
this.setState({
isExpanded: !this.state.isExpanded
});
},
render: function render() {
return /*#__PURE__*/React.createElement("section", null, /*#__PURE__*/React.createElement("button", {
onClick: this.handleToggle
}, "toggle"), /*#__PURE__*/React.createElement("section", {
style: {
outline: '1px solid #e3e3e3'
}
}, /*#__PURE__*/React.createElement(SplitHorizontal, {
isExpanded: this.state.isExpanded
}, /*#__PURE__*/React.createElement(SplitHorizontal.TopPane, null, /*#__PURE__*/React.createElement("p", null, "Magna non tacos, et raw denim food truck mixtape semiotics forage. Meggings sartorial you probably haven't heard of them freegan chicharrones. Cronut affogato consequat fugiat. Portland shabby chic four loko blue bottle, tacos lomo veniam banh mi nulla. Proident sed sartorial, sint biodiesel duis seitan aute thundercats sustainable retro trust fund ugh. Man bun pariatur cray knausgaard elit waistcoat. Consequat yr 3 wolf moon kickstarter, fugiat chambray excepteur godard trust fund food truck anim small batch artisan pork belly.")), /*#__PURE__*/React.createElement(SplitHorizontal.BottomPane, {
isPrimary: true
}, /*#__PURE__*/React.createElement("p", null, "Vero chia occupy butcher heirloom, ad everyday carry id selvage direct trade keytar brunch consequat lumbersexual skateboard. Meditation tousled craft beer consectetur chambray, knausgaard laboris nisi twee +1 shoreditch mollit. Health goth viral mumblecore fingerstache, jean shorts cronut celiac tote bag squid. Hoodie deserunt quinoa, tacos small batch odio chicharrones gluten-free plaid migas schlitz sartorial cillum. DIY chartreuse 90's, letterpress banh mi tousled farm-to-table kogi incididunt paleo wayfarers forage. Asymmetrical aesthetic tempor before they sold out, kombucha lo-fi minim intelligentsia migas yuccie chartreuse roof party. Nulla skateboard proident sapiente qui.")))));
}
});