Files
react-native/Libraries
mym0404 a8166bd75b Fix crash by conditional value of aspectRatio style value (#35858) (#35859)
Summary:
fix https://github.com/facebook/react-native/issues/35858

## Changelog

1. Handle not `number` | `string` value passed to `aspectRatio`
2. Add some tests

<!-- Help reviewers and the release process by writing your own changelog entry.

Pick one each for the category and type tags:

[GENERAL] [FIXED] - Message

For more details, see:
https://reactnative.dev/contributing/changelogs-in-pull-requests
-->

Pull Request resolved: https://github.com/facebook/react-native/pull/35859

Test Plan:
## Sample
[Sample Repository](https://github.com/mym0404/rn-aspect-ratio-crash-sample)

Video

![1](https://user-images.githubusercontent.com/33388801/212956921-94b21cda-d841-4588-a05a-d604a82e204c.gif)

Reviewed By: necolas

Differential Revision: D42575942

Pulled By: NickGerleman

fbshipit-source-id: 2f7f46e6e3af85146e4042057477cb6d63b3b279
2023-01-25 17:15:19 -08:00
..
2022-09-30 14:28:48 -07:00
2023-01-03 18:09:06 -08:00
2023-01-23 07:38:48 -08:00
2022-09-30 14:28:48 -07:00
2023-01-23 07:38:48 -08:00
2023-01-23 07:38:48 -08:00
2022-09-30 14:28:48 -07:00
2022-09-30 14:28:48 -07:00
2023-01-18 08:21:49 -08:00
2023-01-03 18:09:06 -08:00
2022-09-30 14:28:48 -07:00
2023-01-03 18:09:06 -08:00
2023-01-03 18:09:06 -08:00
2022-09-30 14:28:48 -07:00
2022-12-06 19:34:14 -08:00
2022-12-06 19:34:14 -08:00
2023-01-03 18:09:06 -08:00
2022-11-02 14:58:37 -07:00
2023-01-03 18:09:06 -08:00
2023-01-19 14:04:23 -08:00