Modify item parameter type in addItem function in PropertyFilterBuilderActions to "RULE_GROUP" | "RULE" | PropertyFilterRule | PropertyFilterRuleGroup so that users can pass in custom item to initialize newly created rule/group instead of always creating empty one.
Testing
Added new unit tests and visually checked component in Storybook.
Changes
addItem
function inPropertyFilterBuilderActions
to"RULE_GROUP" | "RULE" | PropertyFilterRule | PropertyFilterRuleGroup
so that users can pass in custom item to initialize newly created rule/group instead of always creating empty one.Testing