Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

create documentation of button component#22

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
enieber wants to merge2 commits intorescript-react-native:srcfromenieber:patch-2

Conversation

@enieber
Copy link
Contributor

documentation of button component based in the doc of react-native with samples

@enieberenieber mentioned this pull requestJun 7, 2021
20 tasks
Copy link
Member

@MoOxMoOx left a comment

Choose a reason for hiding this comment

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

Let's not just copy the page from RN website, this adds no value. We should instead focus on what is different from there docs.


A basic button component that should render nicely on any platform. Supports a minimal level of customization.

If this button doesn't look right for your app, you can build your own button using[TouchableOpacity](touchableopacity) or[TouchableWithoutFeedback](touchablewithoutfeedback).
Copy link
Member

Choose a reason for hiding this comment

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

Pressable are recommended instead of Touchables.


##Example

```SnackPlayer name=Button%20Example
Copy link
Member

Choose a reason for hiding this comment

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

Snack don't works on our website and can't.
Maybe a simple example without other component could be nice for a start, like for Text.


| Type|
| ----------------------------------|
| function([PressEvent](pressevent))|
Copy link
Member

Choose a reason for hiding this comment

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

link don't work.


##Props

###<divclass="label required basic">Required</div>**`onPress`**
Copy link
Member

Choose a reason for hiding this comment

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

this css things doesn't work am I right?

@enieberenieber requested a review fromMoOxJune 7, 2021 07:43
@MoOx
Copy link
Member

MoOx commentedOct 5, 2022

@davisuga feel free to take this and address issue I mentioned :)

davisuga reacted with thumbs up emoji

@enieberenieber closed thisNov 4, 2022
@enieberenieber deleted the patch-2 branchNovember 4, 2022 19:24
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@MoOxMoOxAwaiting requested review from MoOx

1 more reviewer

@davisugadavisugadavisuga approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@enieber@MoOx@davisuga

[8]ページ先頭

©2009-2025 Movatter.jp