Skip to Content
КомпонентыSectionMessage

SectionMessage

Inline, non-modal message. Live-region roles are explicitly chosen by the caller. Collapsing hides content/actions from both display and keyboard navigation. Closing requests dismissal without removing the component or stealing focus.

Использование

Перед добавлением устройства
Проверьте подключение устройства.

Статусы

Title
Содержимое сообщения
Title
Содержимое сообщения
Title
Содержимое сообщения
Title
Содержимое сообщения

Состояния

Title
Содержимое сообщения

API

ПропТипПо умолчаниюОписание
status"info" | "success" | "warning" | "error"error—
titleReactNode——
actionsReactNode—Actions wrap automatically with the shared related gap.
closableboolean—
onClose() => void—Requests dismissal; the owner controls removal and subsequent focus.
closeLabelstringЗакрыть сообщение—
expandableboolean—
expandedboolean——
defaultExpandedboolean—
onExpandedChange(expanded: boolean) => void——
collapsedTextstringРаскройте чтобы узнать большеVisible only when collapsed without a title.
expandLabelstringРазвернуть сообщение—
collapseLabelstringСвернуть сообщение—
Last updated on