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.
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.
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