Files
powerpoint-toolbox/node_modules/@fluentui/react-message-bar/lib/components/MessageBarTitle/MessageBarTitle.js
T
2025-03-07 19:22:02 +01:00

15 lines
740 B
JavaScript

import * as React from 'react';
import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
import { useMessageBarTitle_unstable } from './useMessageBarTitle';
import { renderMessageBarTitle_unstable } from './renderMessageBarTitle';
import { useMessageBarTitleStyles_unstable } from './useMessageBarTitleStyles.styles';
/**
* MessageBarTitle component
*/ export const MessageBarTitle = /*#__PURE__*/ React.forwardRef((props, ref)=>{
const state = useMessageBarTitle_unstable(props, ref);
useMessageBarTitleStyles_unstable(state);
useCustomStyleHook_unstable('useMessageBarTitleStyles_unstable')(state);
return renderMessageBarTitle_unstable(state);
});
MessageBarTitle.displayName = 'MessageBarTitle';