-
- {size[0] === 'Original' ? (
-
{`${size[1]}(${originalSize})`}
- ) : (
-
{size[1]}
+
+
+
+
+ {sizes.map((size, _) => (
+
+ `${active ? 'bg-black bg-opacity-10' : 'text-gray-900'}
+ cursor-default select-none relative py-2 pl-10 pr-4`
+ }
+ value={size}
+ >
+ {({ selected, active }) => (
+ <>
+
+ {getSizeShowName(size)}
+
+ {selected ? (
+
+
+
+ ) : null}
+ >
)}
-
-
- )}
-
- ))}
-
+
+ ))}
+
+
+ {getSizeShowName(value)}
+
+
+
+
+