UNPKG

@atlaskit/avatar-group

Version:

An avatar group displays a number of avatars grouped together in a stack or grid.

24 lines (23 loc) 910 B
/* stack.tsx generated by @compiled/babel-plugin v0.36.1 */ import "./stack.compiled.css"; import * as React from 'react'; import { ax, ix } from "@compiled/react/runtime"; import { Children } from 'react'; var listStyles = null; var listItemStyles = null; var Stack = function Stack(_ref) { var children = _ref.children, testId = _ref.testId, label = _ref['aria-label']; return /*#__PURE__*/React.createElement("ul", { "data-testid": testId, "aria-label": label, className: ax(["_1e0c1txw _19121cl4 _vwz4kb7n _2mzuagmp _6rthze3t _1pfhze3t _12l2u2gc _ahbqze3t _85i5ze3t _1q51ze3t _y4tize3t _bozgze3t"]) }, Children.map(children, function (child) { return child && /*#__PURE__*/React.createElement("li", { className: ax(["_6rthze3t _1pfhze3t _12l2x0bf _ahbqze3t"]) }, child); })); }; // eslint-disable-next-line @repo/internal/react/require-jsdoc export default Stack;