Skip to content

fix(docsite): add DialogHeader property-editor defaults and examples#3731

Closed
raphaelroshan wants to merge 1 commit into
facebook:mainfrom
raphaelroshan:fix/dialogheader-docsite-2719
Closed

fix(docsite): add DialogHeader property-editor defaults and examples#3731
raphaelroshan wants to merge 1 commit into
facebook:mainfrom
raphaelroshan:fix/dialogheader-docsite-2719

Conversation

@raphaelroshan

@raphaelroshan raphaelroshan commented Jul 9, 2026

Copy link
Copy Markdown

Closes #2719.

The DialogHeader docsite page didn't preview well. The properties editor had no default values, so title and subtitle rendered empty, and there were no example blocks to copy from.

This sets sensible playground defaults — a title, subtitle, and the divider — so the property editor shows a real header immediately, and adds three examples: a basic header, one with a close button (via onOpenChange), and one using the startContent/endContent slots.

Docs-only change, no API or behavior change. Changeset included.

The DialogHeader docsite page rendered an empty preview because the
properties editor had no default prop values, and the page had no example
blocks. Add playground defaults (title, subtitle, divider) so the preview
is meaningful out of the box, plus example blocks for a basic header, a
header with a close button, and one with start/end content.

Closes facebook#2719.
@vercel

vercel Bot commented Jul 9, 2026

Copy link
Copy Markdown

@raphaelroshan is attempting to deploy a commit to the Meta Open Source Team on Vercel.

A member of the Team first needs to authorize it.

@meta-cla

meta-cla Bot commented Jul 9, 2026

Copy link
Copy Markdown

Hi @raphaelroshan!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at cla@meta.com. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(docsite): XDSDialogHeader needs better property editor defaults and example blocks

1 participant