@fluentui/react-northstar
Version:
A themable React component library.
25 lines (23 loc) • 726 B
JavaScript
import { compose } from '@fluentui/react-bindings';
import { commonPropTypes } from '../../utils';
import { Box } from '../Box/Box';
export var attachmentHeaderClassName = 'ui-attachment__header';
/**
* A AttachmentHeader provides a title for the Attachment.
*/
export var AttachmentHeader = /*#__PURE__*/function () {
var AttachmentHeader = compose(Box, {
className: attachmentHeaderClassName,
displayName: 'AttachmentHeader',
overrideStyles: true,
shorthandConfig: {
mappedProp: 'content'
}
});
AttachmentHeader.defaultProps = {
as: 'span'
};
AttachmentHeader.propTypes = commonPropTypes.createCommon();
return AttachmentHeader;
}();
//# sourceMappingURL=AttachmentHeader.js.map