Skip to content

Instantly share code, notes, and snippets.

@dorner
Last active September 15, 2020 19:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dorner/9d4a85da51e068b4d145244f2c048423 to your computer and use it in GitHub Desktop.
Save dorner/9d4a85da51e068b4d145244f2c048423 to your computer and use it in GitHub Desktop.
Filtered table suggestion in React
<FilteredTableController perPage="20" data={data} renderRowFunc={(data) => ...}>
<TopicFilters>
<TextFilter field="topicName" placeholder="Enter the topic name"/>
<CheckboxFilter field="myTopic" label="Show Only My Topics"/>
</TopicFilters>
<FilteredTable>
<Headers>...</Headers>
</FilteredTable>
</FilteredTableController>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment