-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove default value for chat header slot #16321
Remove default value for chat header slot #16321
Conversation
Please add a condition to always render the |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 90b6392:
|
Perf AnalysisNo significant results to display. All results
Perf Analysis (Fluent)Perf comparison
Perf tests with no regressions
|
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 9a4995b0437ff05317f80b765e6b110b60a18cdb (build) |
Pull request checklist
$ yarn change
Description of changes
Removes the default value for the
header
shorthand slot inChatMessage
since it will unnecessarily throw warnings if the component is used with childrenWarning: Failed prop type: Prop `author` in `ChatMessage` conflicts with props: `children`. They cannot be defined together, choose one or the other.
Focus areas to test
(optional)