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

feat(example): added FormSheet example#12448

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

Draft
kligarski wants to merge6 commits intoreact-navigation:main
base:main
Choose a base branch
Loading
fromkligarski:@kligarski/form-sheet-example

Conversation

kligarski
Copy link
Contributor

@kligarskikligarski commentedFeb 19, 2025
edited
Loading

Description

Added formSheet example screen.

Changes

  • added formSheet example screen with buttons that open formSheets with different props:
    • Fit To Contents:
      • showsfitToContents prop,
    • Heights Steps:
      • showssheetAllowedDetents prop,
    • No Rounded Corners:
      • showssheetCornerRadius prop,
      • other examples usesheetCornerRadius: 8 to show the difference (on default Android also uses no rounded corners),
    • Grabber Visible:
      • showssheetGrabberVisible prop,
    • Custom Dimming:
      • showssheetLargestUndimmedDetentIndex prop by disabling dimming for the first detent,
    • Initial Detent:
      • showssheetInitialDetentIndex prop by showing last detent when opened,
    • Lock Expanding With Scrolling:
      • showssheetExpandsWhenScrolledToEdge,
    • Sheet Elevation: 0, Sheet Elevation: 48
      • show different values forsheetElevation prop,
      • use no dimming to highlight elevation effect

There is a problem with TS, when adding a new screen - see comment below:#12448 (comment).

@github-actionsGitHub Actions
Copy link

Hey@kligarski! Thanks for opening your first pull request in this repo. If you haven't already, make sure to read ourcontribution guidelines.

@netlifyNetlify
Copy link

netlifybot commentedFeb 19, 2025
edited
Loading

Deploy Preview forreact-navigation-example failed.

NameLink
🔨 Latest commit9118300
🔍 Latest deploy loghttps://app.netlify.com/sites/react-navigation-example/deploys/67bc391139f0ec00089e992c

@kligarski
Copy link
ContributorAuthor

There is a problem with TS I am unable to fix - when adding a new screen, after importing it and adding it toSCREENS in example/src/screens.tsx,navigation.navigate(name) in example/src/index.tsx reports an issue with the type ofname.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@kligarski

[8]ページ先頭

©2009-2025 Movatter.jp