- {options.map((option) => {
- const isActive = selected === option.id;
- const Icon = option.icon;
+
+
+ {options.map((option) => {
+ const isActive = selected === option.id;
+ const Icon = option.icon;
- const pill = (
-
- );
-
- if (!showLabels) {
- return (
-
-
- {pill}
-
-
-
- {option.label}
-
-
-
+ const pill = (
+
);
- }
- return pill;
- })}
-
+ if (!showLabels) {
+ return (
+
+
+ {pill}
+
+
+
+ {option.label}
+
+
+
+ );
+ }
+
+ return pill;
+ })}
+