UNPKG

lole-ui

Version:

React UI Component which like a love letter

24 lines (23 loc) 1.05 kB
import React from 'react'; import Notice from "./components/Notice/Notice"; import { Col, Row } from "./components/Grid"; var App = function () { var handleNormalClick = function () { Notice["info"]({ message: 'Notification Title', description: 'This is the content of the notification. This is the content of the notification. This is the content of the notification.', duration: 5000, placement: 'bottomRight' }); }; return (React.createElement(React.Fragment, null, React.createElement("div", { style: {} }, React.createElement(Row, null, new Array(24).fill(null).map(function (item, index) { return React.createElement(Col, { key: index, span: 1, style: { height: '100vh', width: '10px', background: index % 2 === 0 ? 'rgb(249, 204, 226)' : '#fff' } }, 'Col-' + (index + 1)); }))))); }; export default App;