@activecollab/components
Version:
ActiveCollab Components
25 lines (24 loc) • 727 B
JavaScript
import _extends from "@babel/runtime/helpers/esm/extends";
import React, { forwardRef } from "react";
import { ListItem } from "./ListItem";
import { ListSeparator } from "./ListSeparator";
import { StyledList } from "./Styles";
export const _List = /*#__PURE__*/forwardRef((_ref, ref) => {
let {
children,
className,
...props
} = _ref;
return /*#__PURE__*/React.createElement(StyledList, _extends({
className: className,
ref: ref,
tabIndex: -1
}, props), children);
});
_List.displayName = "List";
// https://github.com/DefinitelyTyped/DefinitelyTyped/issues/34757
export const List = Object.assign({}, _List, {
Item: ListItem,
Separator: ListSeparator
});
//# sourceMappingURL=List.js.map