Chat Message
Message bubble for conversational UI with sender, content, and metadata.
Generated from the package's public source.
API
Actionscomponent
Actions(props: ChatMessageActionsProps): Element
Props
class?stringstyle?string | CSSProperties
children: Element
Avatarcomponent
Avatar(props: ChatMessageAvatarProps): Element
Props
class?stringstyle?string | CSSProperties
children: Element
ChatMessageActionsPropsinterface
Props
class?stringstyle?string | CSSProperties
children: Element
ChatMessageAvatarPropsinterface
Props
class?stringstyle?string | CSSProperties
children: Element
ChatMessageContentPropsinterface
Props
class?stringstyle?string | CSSProperties
children: Element
ChatMessageRootPropsinterface
Props
class?stringid?string— Unique message identifier.style?string | CSSPropertiesvariant?ChatMessageVariant— Whether the message was sent or received.
children: Element
ChatMessageVarianttype
Contentcomponent
Content(props: ChatMessageContentProps): Element
Props
class?stringstyle?string | CSSProperties
children: Element
Rootcomponent
Root(props: ChatMessageRootProps): Element
Props
class?stringid?string— Unique message identifier.style?string | CSSPropertiesvariant?ChatMessageVariant— Whether the message was sent or received.
children: Element