Skip to content

docs(ui-components): add Pressable component documentation#4049

Closed
aymenhamada wants to merge 1 commit into
react:mainfrom
aymenhamada:add-pressable-component-docs
Closed

docs(ui-components): add Pressable component documentation#4049
aymenhamada wants to merge 1 commit into
react:mainfrom
aymenhamada:add-pressable-component-docs

Conversation

@aymenhamada

@aymenhamada aymenhamada commented Mar 10, 2024

Copy link
Copy Markdown

This PR introduces documentation for the Pressable component within the User Interface components section alongside Button and Switch.

Changes:

  • Updated the components-and-apis.md file to include a section on the Pressable component.

Resolves: #4022

@netlify

netlify Bot commented Mar 10, 2024

Copy link
Copy Markdown

Deploy Preview for react-native ready!

Name Link
🔨 Latest commit f2cb9cd
🔍 Latest deploy log https://app.netlify.com/sites/react-native/deploys/65ed727ceb260c00089b327e
😎 Deploy Preview https://deploy-preview-4049--react-native.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@Abbondanzo Abbondanzo left a comment

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.

One minor nit on phrasing. Also, could you copy these changes to each of the more recent versions + the version in the docs folder so it's included on future releases? Thanks!

<div className="component">
<a href="./pressable">
<h3>Pressable</h3>
<p>A Core Component wrapper that can detect various stages of press interactions on any of its defined children</p>

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.

I love the idea of highlighting this component, but perhaps the verbiage could lead someone astray (what is a Core Component, is that another component we should be aware of?) Instead, I would slightly adjust the first half of the sentence to read:

Suggested change
<p>A Core Component wrapper that can detect various stages of press interactions on any of its defined children</p>
<p>A wrapper component that can detect various stages of press interactions on any of its children</p>

@Simek

Simek commented Aug 19, 2025

Copy link
Copy Markdown
Collaborator

Hey @aymenhamada, thanks for the contribution! 👍

Since the PR has not been updated according to the requested changes for a while, closing it in favour of:

@Simek Simek closed this Aug 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Pressable Component to the Documentation of Core-Components and API, User Interface Section

4 participants