We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 148d760 commit a8ccac8Copy full SHA for a8ccac8
packages/@react-spectrum/s2/src/ActionButton.tsx
@@ -251,12 +251,12 @@ export const btnStyles = style<ButtonRenderProps & ActionButtonStyleProps & Togg
251
}, getAllowedOverrides());
252
253
// Matching icon sizes. TBD.
254
-const avatarSize = {
+const avatarSize: Record<NonNullable<ActionButtonStyleProps['size']>, number> = {
255
XS: 14,
256
S: 16,
257
M: 20,
258
L: 22,
259
- X: 26
+ XL: 26
260
} as const;
261
262
export const ActionButtonContext = createContext<ContextValue<Partial<ActionButtonProps>, FocusableRefValue<HTMLButtonElement>>>(null);
0 commit comments