lucid-ui
Version:
A UI component library from AppNexus.
16 lines • 656 B
JavaScript
import _ from 'lodash';
import React from 'react';
import createClass from 'create-react-class';
import { ExpanderPanel } from '../../../index';
const onRest = () => {
alert('A big ball of wibbly wobbly, timey wimey stuff');
};
export default createClass({
render() {
return (React.createElement("div", null,
React.createElement(ExpanderPanel, { onRest: onRest },
React.createElement(ExpanderPanel.Header, null, "Show More"),
_.times(100, (n) => (React.createElement("div", { key: n }, _.repeat('-', 75 * Math.sin(n / 5))))))));
},
});
//# sourceMappingURL=3.basic-with-onRest-callback.js.map