widget like filter which updates the UI based on the inputs

I want to create a widget, The requirement is as follows: The widget is having the implementation of filter which will filter the data based on the given inputs in the given  categories. (The Logic of creating the filter in react is not an issue) Issue: I am unable to create the widget definition file for the widget because I'm not able to get the correct property type that will help me get the UI to be updated whenever there is change in the value of filter.
1 answers

Hi Kumar,

What kind of UI change are you looking for? Should it display different content based on your filter criteria? Or should it completely change the look and feel of your application?

The first should be pretty straight forward using a non persistable entity which holds your filter options and conditional visibility for parts you want to show. 

Second option looks more like a theme selector

Hope this helps