+
+ {filterOne && (
+ <>
+ {React.createElement(filterOne.widget.component, {
+ ...filterOne.widget?.props,
+ id: 'filterOne',
+ onChange: (filter, value) => {
+ dispatchFilter({
+ filter: filter,
+ value: value,
+ });
+ },
+ })}
+ >
+ )}
+ {filterTwo &&
+ React.createElement(filterTwo.widget?.component, {
+ ...filterTwo.widget?.props,
+ id: 'filterTwo',
+ onChange: (filter, value) =>
dispatchFilter({
filter: filter,
value: value,
- });
- },
+ }),
})}
- >
- )}
- {filterTwo &&
- React.createElement(filterTwo.widget?.component, {
- ...filterTwo.widget?.props,
- id: 'filterTwo',
- onChange: (filter, value) =>
- dispatchFilter({
- filter: filter,
- value: value,
- }),
- })}
- {filterThree &&
- React.createElement(filterThree.widget?.component, {
- ...filterThree.widget?.props,
- id: 'filterThree',
- onChange: (filter, value) =>
- dispatchFilter({
- filter: filter,
- value: value,
- }),
- })}
-
-
+ {filterThree &&
+ React.createElement(filterThree.widget?.component, {
+ ...filterThree.widget?.props,
+ id: 'filterThree',
+ onChange: (filter, value) =>
+ dispatchFilter({
+ filter: filter,
+ value: value,
+ }),
+ })}
+
+
+
-