UNPKG

@dotconnor/grommet

Version:

focus on the essential experience

19 lines 880 B
import React from 'react'; import { Grommet, Paragraph } from 'grommet'; import { grommet } from 'grommet/themes'; var sizes = ['xxlarge', 'xlarge', 'large', 'medium', 'small']; var paragraphFiller = "\nLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod\ntempor incididunt ut labore et dolore magna aliqua.\n"; export var All = function All() { return /*#__PURE__*/React.createElement(Grommet, { theme: grommet }, sizes.map(function (size) { return /*#__PURE__*/React.createElement(Paragraph, { key: size, size: size }, "Paragraph " + size, paragraphFiller); }), /*#__PURE__*/React.createElement(Paragraph, { color: "status-critical" }, "This is an error message."), /*#__PURE__*/React.createElement(Paragraph, { fill: true }, "This is a full-width paragraph, using the \"fill\" property:", ' ', paragraphFiller)); };