We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8518473 commit 11f50beCopy full SHA for 11f50be
packages/components/src/ConditionalFilter/ConditionalFilter.tsx
@@ -155,7 +155,7 @@ const ConditionalFilter: React.FunctionComponent<ConditionalFilterProps> = ({
155
const C = typeMapper.custom;
156
// make sure no invalid props are passed to the Fragment element which is mapped to the custom component
157
const { key, children } = activeItem.filterValues;
158
- return <C key={key} children={children} />;
+ return <C key={key}>{children}</C>;
159
} else {
160
throw new Error(`Invalid conditional filter component type! Expected one of ${Object.keys(conditionalFilterType)}, got ${activeItem.type}.`);
161
}
0 commit comments