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

feat: assert that detents array is sorted in dev mode #2381

Merged
merged 2 commits into from
Oct 3, 2024

Conversation

kkafar
Copy link
Member

@kkafar kkafar commented Oct 3, 2024

Description

Verify the invariant specified in sheetAllowedDetents prop documentation in dev mode.

Test code and steps to reproduce

Test1649

Checklist

  • Included code example that can be used to test this change
  • Ensured that CI passes

@kkafar kkafar merged commit 253ddad into main Oct 3, 2024
2 of 3 checks passed
@kkafar kkafar deleted the @kkafar/error-handling-for-sheet-allowed-detents branch October 3, 2024 12:31
ja1ns pushed a commit to WiseOwlTech/react-native-screens that referenced this pull request Oct 9, 2024
…on#2381)

## Description

Verify the invariant specified in `sheetAllowedDetents` prop
documentation in dev mode.

## Test code and steps to reproduce

`Test1649`

## Checklist

- [x] Included code example that can be used to test this change
- [ ] Ensured that CI passes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants