-
Notifications
You must be signed in to change notification settings - Fork 5
docs: add hideTryItButton prop to EndpointRequestSnippet #3453
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
base: main
Are you sure you want to change the base?
docs: add hideTryItButton prop to EndpointRequestSnippet #3453
Conversation
…g entry Co-Authored-By: Sarah Bawabe <sarah@buildwithfern.com>
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
🌿 Preview your docs: https://fern-preview-17197b7f-103f-4af3-a898-3d47f9b9d7cf.docs.buildwithfern.com/learn Visual changes detected:
|
fern/products/docs/pages/component-library/default-components/endpoint-request-snippet.mdx
Outdated
Show resolved
Hide resolved
| ### Hide the Try It button | ||
|
|
||
| The `EndpointRequestSnippet` component includes a Try It button by default. Use the `hideTryItButton` prop to hide it. | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would be great to have a rendered example right above the syntax, in the style of the other sections!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done! Added the rendered example with highlight-frame wrapper and updated the ParamField with default={false} attribute.
Co-authored-by: Devin Logan <devinannlogan@gmail.com>
Co-Authored-By: Sarah Bawabe <sarah@buildwithfern.com>
…' of https://git-manager.devin.ai/proxy/github.com/fern-api/docs into devin/1770153540-endpoint-request-snippet-try-it-button
Summary
Documents the new
hideTryItButtonprop for theEndpointRequestSnippetcomponent and adds a changelog entry for the Try It button feature.Changes:
hideTryItButtonproperty to the Properties sectionReview & Testing Checklist for Human
hideTryItButtonmatches the actual implementationNotes
Requested by: Sarah Bawabe (@sbawabe)
Link to Devin run: https://app.devin.ai/sessions/f0f2a6cdd7f44c02af14140ae4f189b9