You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: theme/src/components/variant-select.js
+12-1Lines changed: 12 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -54,8 +54,19 @@ function VariantSelect(props) {
54
54
);
55
55
});
56
56
57
+
/**
58
+
* We should use '@primer/react' package as '@primer/components' package depricated and moved to '@primer/react'.
59
+
* We have no closing/opening control with current '@primer/components' package, so document.body click event used for closing purpose.
60
+
*/
61
+
// TODO: We should use 'setOpen' function returned by the useDetails hook when we move to '@primer/react' package. https://primer.style/react/deprecated/Dropdown
0 commit comments