-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Rewrite examples in documentation to TypeScript (#5873) #5914
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Summary This pr adds TypeScript templates of code in the Reanimated Docs. ## How is it work? I rewrote the `.jsx` exercises to `.tsx` and I added tsx to jsx code compilation in the InteractiveExample component. ## How to test this feature? Command to change current working dictionary: > cd docs Command to download libraries: > yarn install Command to preview the project: > yarn start # Screenshots ![Zrzut ekranu 2024-04-8 o 11 33 57](https://github.com/software-mansion/react-native-reanimated/assets/80314375/219ad5ed-681a-43a7-b962-e9fff0a739a5) ![Zrzut ekranu 2024-04-8 o 11 34 26](https://github.com/software-mansion/react-native-reanimated/assets/80314375/69e59174-0273-4c6f-a356-4c231180884b) ![Zrzut ekranu 2024-04-8 o 11 34 46](https://github.com/software-mansion/react-native-reanimated/assets/80314375/acc3a65a-50d6-453f-8a10-b808d173bffa)
xnameTM
force-pushed
the
@xnameTM/convert-ts-to-js-2
branch
from
April 22, 2024 05:59
e6225d0
to
235719e
Compare
piaskowyk
requested changes
Apr 23, 2024
piaskowyk
approved these changes
Apr 26, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This pr adds TypeScript templates of code in the Reanimated Docs.
How is it work?
I rewrote the
.jsx
exercises to.tsx
and I added tsx to jsx code compilation in the InteractiveExample component.How to test this feature?
Command to change current working dictionary:
Command to download libraries:
Command to preview the project:
Screenshots