+ {segments.map((segment, i) => {
+ const count = i + 1;
+ const isApplied = appliedDepth != null && count <= appliedDepth;
+ const isClickable = (!isFiltered || appliedDepth != null) && count !== appliedDepth;
+ return (
+
+
+ onSelect(count) : null}
+ />
+
+ );
+ })}
+
+ {overflow.right && (
+