@fluentui/react-northstar
Version:
A themable React component library.
22 lines (20 loc) • 676 B
JavaScript
import { compose } from '@fluentui/react-bindings';
import { commonPropTypes } from '../../utils';
import { Box } from '../Box/Box';
export var attachmentBodyClassName = 'ui-attachment__body';
/**
* An AttachmentBody provides a slot for header and description in the Attachment.
*/
export var AttachmentBody = /*#__PURE__*/function () {
var AttachmentBody = compose(Box, {
className: attachmentBodyClassName,
displayName: 'AttachmentBody',
overrideStyles: true,
shorthandConfig: {
mappedProp: 'content'
}
});
AttachmentBody.propTypes = commonPropTypes.createCommon();
return AttachmentBody;
}();
//# sourceMappingURL=AttachmentBody.js.map