Skip to content

Commit

Permalink
Flatten Text examples in RNTester to make them searchable (facebook#4…
Browse files Browse the repository at this point in the history
…4518)

Summary:
Pull Request resolved: facebook#44518

# Changelog:
[Internal] -

For some inexplicable reason, we had majority of `Text` test examples (42 out of 46) in RNTester stuffed into `<RNTesterBlock/>` components inside one huge "Basic" test case.

This was highly imbalanced, introduced extra nesting, cluttering the UI, but most importantly, none of those 42 out 46 test cases were searchable for.

This change flattens all of the corresponding nested test cases to the top level, making them into valid separate test cases, which are also searchable.

It also corresponds to the general structure we have in other test examples, such as `TextInput`.

Reviewed By: cipolleschi

Differential Revision: D57197676

fbshipit-source-id: 777eb2aa238a91bb3f52d2f0ab10edc6bfad5c85
  • Loading branch information
rshest authored and kosmydel committed Jun 11, 2024
1 parent 4d246cc commit d5718fc
Showing 1 changed file with 991 additions and 677 deletions.
Loading

0 comments on commit d5718fc

Please sign in to comment.