ChatMessage throws error when used with children #16301
Labels
Fluent UI react-northstar (v0)
Work related to Fluent UI V0
Needs: Triage 🔍
Status: Fixed
Fixed in some PR
Environment Information
Please provide a reproduction of the bug in a codepen:
Actual behavior:
When rendering
ChatMessage
with children, the following error will always be thrown since theheader
prop has a default value of{}
which is inconsistent with other shorthand props for this component:Repro: https://codesandbox.io/s/fluent-ui-example-forked-vg94c
Expected behavior:
No error should be thrown when rendering ChatMessage with children
Priorities and help requested:
Are you willing to submit a PR to fix? (Yes, No)
Yes
Requested priority: (Blocking, High, Normal, Low)
Normal
Products/sites affected: (if applicable)
Teams/TMP ->
MessageRenderer
componentThe text was updated successfully, but these errors were encountered: