Add JSDoc type value descriptions to Text and Paragraph#4291
Add JSDoc type value descriptions to Text and Paragraph#4291
Conversation
Add inline value descriptions for the `type` property on TextElementProps and ParagraphElementProps to document semantic type options and defaults. Made-with: Cursor
🚨🚨🚨 Docs migration in progress 🚨🚨🚨We are actively migrating UI extension reference docs to MDX in the
During this migration, please be aware of the following:
Doc comments in Examples that previously lived in this repo are being moved to the What should I do?
Thanks for your patience while we complete the migration! 🙏 |
|
We detected some changes in |
Summary
typeproperty onTextElementPropsinText.d.ts, documenting all semantic type options (address,redundant,mark,emphasis,offset,small,strong,generic) with@default 'generic'.typeproperty with JSDoc value descriptions onParagraphElementPropsinParagraph.d.ts, documentingparagraphandsmallwith@default 'paragraph'.Mirrors the JSDoc changes already applied on
2026-04-rc.Made with Cursor