MessageError API - MUI XSkip to contentSkip to content🚀 Material UI and MUI X v9 are out! Check out the announcement blogpost. Search… MUI X v9.4.0 What's new in MUI XIntroductionCommon conceptsData GridDate and Time PickersChartsTree ViewSchedulerPreviewChatPreviewOverviewQuickstartMain featuresChatBoxAdaptersStreamingError handlingCustomizationSlots and compositionStylingTailwind CSSLocalizationAdvanced featuresBuilding BlocksDisplayBehaviorMulti-conversationAI and agentsBackend integrationDemosResourcesHooks ReferenceSelectors ReferenceEvents & CallbacksPerformanceAPI ReferenceAPI referenceChatBoxChatCodeBlockChatComposerAttachButtonChatComposerAttachmentListChatComposerHelperTextChatComposerLabelChatComposerSendButtonChatComposerTextAreaChatComposerToolbarChatConfirmationChatConversationChatConversationHeaderChatConversationHeaderActionsChatConversationHeaderInfoChatConversationListChatConversationSubtitleChatConversationTitleChatDateDividerChatLayoutChatMessageActionsChatMessageAuthorLabelChatMessageAvatarChatMessageContentChatMessageGroupChatMessageInlineMetaChatMessageListChatMessageMetaChatMessageSkeletonChatMessageSourceChatMessageSourcesChatProviderChatRootChatScrollToBottomAffordanceChatSuggestionsChatTypingIndicatorChatUnreadMarkerComposerAttachButtonComposerAttachmentListComposerHelperTextComposerLabelComposerRootComposerSendButtonComposerTextAreaComposerToolbarConversationHeaderConversationHeaderActionsConversationListItemConversationListItemAvatarConversationListPreviewConversationListRootConversationListTimestampConversationListTitleConversationListUnreadBadgeConversationRootConversationSubtitleConversationTitleMessageActionsMessageAuthorLabelMessageAvatarMessageContentMessageErrorMessageGroupMessageListDateDividerMessageListRootMessageMetaMessageRootScrollToBottomAffordanceTypingIndicatorUnreadMarkerMigrationMessageError API Slot nameClass nameDefault componentDescriptionrootThe root element of the per-message error primitive. Rendered with role="alert" so screen readers announce the error.Source code Edit this page Search…
API reference docs for the React MessageError component. Learn about the props, CSS, and other APIs of this exported module.
DemosFor examples and details on the usage of this React component, visit the component demo pages:
Chat - Error HandlingImportimport { MessageError } from '@mui/x-chat/headless';
// or
import { MessageError } from '@mui/x-chat/headless';Learn about the difference by reading this guide on minimizing bundle size.
PropsView:tableProps of the native component are also available.
NameTypeDescriptionThe component cannot hold a ref.SlotsView:tableIf you did not find the information in this page, consider having a look at the implementation of the component for more detail.
Was this page helpful?
•
Blog•
StoreContents
DemosImportPropsSlotsrootSource codeBecome a Diamond sponsorMUI stands in solidarity with Ukraine.MessageError API - MUI X,AI智能索引,全网链接索引,智能导航,网页索引
- API reference docs for the React MessageError component. Learn about the props, CSS, and other APIs of this exported module.