UNPKG

@shopgate/pwa-common

Version:

Common library for the Shopgate Connect PWA.

25 lines (24 loc) 507 B
import React from 'react'; import PropTypes from 'prop-types'; import ListItem from "./components/Item"; /** * The List component. * @param {Object} props The component props. * @returns {JSX} */ import { jsx as _jsx } from "react/jsx-runtime"; const List = ({ children, className, role }) => /*#__PURE__*/_jsx("ul", { className: `${className} common_list`, role: role, children: children }); List.Item = ListItem; List.defaultProps = { className: '', role: null }; export default List;