Skip to content

docs(core): document ToggleButton's isIconOnly prop#3204

Merged
cixzhang merged 1 commit into
facebook:mainfrom
durvesh1992:fix/togglebutton-isicononly-doc
Jun 29, 2026
Merged

docs(core): document ToggleButton's isIconOnly prop#3204
cixzhang merged 1 commit into
facebook:mainfrom
durvesh1992:fix/togglebutton-isicononly-doc

Conversation

@durvesh1992

Copy link
Copy Markdown
Contributor

Summary

ToggleButton has a public isIconOnly prop (boolean, @default false) — "renders as a square icon-only button with label as the aria-label and an automatic tooltip" — but it was missing from the docsite properties tab.

Found via the interface-vs-docs prop scan (same class as the approved Heading justify #3176 and Text justify #3203). Added isIconOnly to ToggleButton's doc props.

Testing

  • Regenerated docsite data — isIconOnly now appears in the ToggleButton component registry.

Changeset

Included (@astryxdesign/core patch, docs).

@vercel

vercel Bot commented Jun 27, 2026

Copy link
Copy Markdown

Someone 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 added the CLA Signed This label is managed by the Meta Open Source bot. label Jun 27, 2026
@cixzhang

Copy link
Copy Markdown
Contributor

Build is failing on this PR since main was briefly broken for the build step. It's been fixed now. Could you rebase this PR over latest main to get a green CI?

ToggleButton has a public isIconOnly prop (boolean, @default false) for
rendering a square icon-only button, but it was missing from the docsite
properties tab. Add it. Found via the interface-vs-doc prop scan.
@cixzhang cixzhang force-pushed the fix/togglebutton-isicononly-doc branch from 3bf34f8 to 5c6af76 Compare June 29, 2026 05:15
@cixzhang cixzhang enabled auto-merge (squash) June 29, 2026 05:22
@cixzhang cixzhang merged commit a69bab2 into facebook:main Jun 29, 2026
13 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants