Skip to content
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

Add selectable text component #935

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sieu-db
Copy link
Collaborator

@sieu-db sieu-db commented Aug 18, 2024

Overview

  • Add selectable text component

Demo

Screen.Recording.2024-08-18.at.23.19.25.mov

Copy link

linear bot commented Aug 18, 2024

Copy link

Published version: @draftbit/[email protected]

@sieu-db sieu-db requested a review from YoussefHenna August 19, 2024 09:25

type Props = {
style?: StyleProp<TextStyle>;
text?: string;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can the text be passed in as children? Similar to how the normal Text component works

@sieu-db sieu-db marked this pull request as draft August 29, 2024 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants