@financial-times/o3-foundation
Version:
Origami foundations with design tokens
13 lines (9 loc) • 705 B
JavaScript
;Object.defineProperty(exports, "__esModule", {value: true});var _jsxruntime = require('react/jsx-runtime');
var _getStyleAttributes = require('./getStyleAttributes');
const UnorderedList = ({ children, theme }) => {
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: "o3-typography-ul", ..._getStyleAttributes.getStyleAttributes.call(void 0, { theme }), children });
};
const OrderedList = ({ children, theme }) => {
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ol", { className: "o3-typography-ol", ..._getStyleAttributes.getStyleAttributes.call(void 0, { theme }), children });
};
exports.OrderedList = OrderedList; exports.UnorderedList = UnorderedList;