UNPKG

@activecollab/components

Version:

ActiveCollab Components

20 lines 758 B
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; const _excluded = ["children", "className"]; import React, { forwardRef } from "react"; import classnames from "classnames"; import { StyledListItem } from "./Styles"; export const ListItem = /*#__PURE__*/forwardRef((_ref, ref) => { let { children, className } = _ref, props = _objectWithoutPropertiesLoose(_ref, _excluded); return /*#__PURE__*/React.createElement(StyledListItem, _extends({ className: classnames("c-list-item", className), ref: ref, tabIndex: 0 }, props), children); }); ListItem.displayName = "ListItem"; //# sourceMappingURL=ListItem.js.map