Skip to content

Commit

Permalink
Remove filter pills from example page (#30198)
Browse files Browse the repository at this point in the history
Summary:
rickhanlonii
Removes filter pills from example page in RNTester app.

## Changelog
Removed filter pills from example page by changing hideFilterPills property to true in RNTesterExampleList.js
<div>
<img src="https://user-images.githubusercontent.com/43835229/96194048-88e05600-0f17-11eb-9262-660a7a4bb170.png" width="200" height="400" style="float:left" />
<img src="https://user-images.githubusercontent.com/43835229/96194345-26d42080-0f18-11eb-9af2-bbf9fcc9518a.png" width="200" height="400" />
</div>

[Android] [Removed] - Remove filter pills
[iOS] [Removed] - Remove filter pills

Pull Request resolved: #30198

Test Plan:
RNTester app builds and runs as expected and filter pills are removed from the screen.
<div>
<img src="https://user-images.githubusercontent.com/43835229/96194077-9564ae80-0f17-11eb-821e-13da51d37581.png" width="200" height="400" style="float:left"/>
<img src="https://user-images.githubusercontent.com/43835229/96194532-8fbb9880-0f18-11eb-9ecf-48e1b4a9ac25.png" width="200" height="400" />
</div>

Reviewed By: cpojer

Differential Revision: D24395513

Pulled By: rickhanlonii

fbshipit-source-id: 7351ce8972185f973ad302d70929491cc6f56907
  • Loading branch information
suminkimm authored and facebook-github-bot committed Dec 1, 2020
1 parent b9b2215 commit 5cf4ab8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/rn-tester/js/components/RNTesterExampleList.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ const RNTesterExampleList: React$AbstractComponent<any, void> = React.memo(
page="components_page"
sections={sections}
filter={filter}
hideFilterPills={true}
render={({filteredSections}) => (
<SectionList
sections={filteredSections}
Expand Down

0 comments on commit 5cf4ab8

Please sign in to comment.