Skip to content

Clarify Download component children prop description - #6812

Open
fern-api[bot] wants to merge 1 commit into
mainfrom
2026-09-02-fern-ai-d8be69-f423521e
Open

Clarify Download component children prop description#6812
fern-api[bot] wants to merge 1 commit into
mainfrom
2026-09-02-fern-ai-d8be69-f423521e

Conversation

@fern-api

@fern-api fern-api Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Updated the children ParamField description on the Download component page to lead with plain text as the simplest usage, then mention React elements like <Button> as an alternative — matching the single-file example already on the page and addressing reader feedback that the previous wording ("Typically a <Button> or styled link") implied a button was required.

@fern-api
fern-api Bot requested a review from devalog as a code owner September 2, 2026 13:59

<ParamField path="children" type="React.ReactNode" required={true}>
The text or element to display as the click target for the download. Typically a `<Button>` or styled link.
The text or element to display as the click target for the download. Can be plain text (e.g. `Download PDF`) or a React element such as a `<Button>`.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [vale] <Microsoft.UIVerbs> reported by reviewdog 🐶
Use 'select' instead of the input-specific verb 'click'.

@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

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.

0 participants