UNPKG

@atlaskit/comment

Version:

A comment displays discussions and user feedback.

20 lines • 577 B
/* avatar-slot.tsx generated by @compiled/babel-plugin v3.0.2 */ import "./avatar-slot.compiled.css"; import { ax, ix } from "@compiled/react/runtime"; import React from 'react'; import { Box } from '@atlaskit/primitives/compiled'; const avatarSectionStyles = { root: "_nd5l1ofd" }; /** * __Avatar slot is used to nest an avatar in a comment__ * * The avatar slot is used to nest an avatar in a comment's layout. * */ const AvatarSlot = ({ children }) => /*#__PURE__*/React.createElement(Box, { xcss: avatarSectionStyles.root }, children); export default AvatarSlot;