UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

23 lines 752 B
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; const _excluded = ["nested", "inside", "outside"]; import React from 'react'; import classnames from 'classnames'; import E from '../Element'; const Ul = (_ref = {}) => { let { nested, inside, outside } = _ref, props = _objectWithoutProperties(_ref, _excluded); return React.createElement(E, _extends({ as: "ul" }, props, { className: classnames(props.className, nested && 'dnb-ol--nested', inside && 'dnb-ol--inside', outside && 'dnb-ol--outside'), skeleton: false })); }; Ul._supportsSpacingProps = true; export default Ul; //# sourceMappingURL=Ul.js.map