We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d71f56a commit 0617cafCopy full SHA for 0617caf
2 files changed
src/components/core/filters/filter-group.jsx
@@ -12,7 +12,7 @@ type State = {
12
};
13
14
type DefaultProps = {
15
- renderCount: Function,
+ renderCount: (count: number) => string,
16
17
18
export default class FilterGroup extends Component {
src/components/core/filters/types.js
@@ -16,7 +16,7 @@ export type FilterTypeProps = {
onSelectFacet?: Function,
term?: string,
values?: Array<FilterValue>,
19
20
21
22
@@ -28,5 +28,5 @@ export type FilterGroupProps = {
28
onClearFacet?: Function,
29
30
initiallyExpanded?: boolean,
31
- renderCount?: Function,
+ renderCount?: (count: number) => string,
32
0 commit comments