Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertCarreras committed Sep 30, 2024
1 parent 66441f6 commit 4caede9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions packages/gestalt/src/IconButton/InternalIconButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ type Props = {
zIndex?: Indexable;
};
type?: 'submit' | 'button';
variant?: 'floating' | 'default';
};

const InternalIconButtonWithForwardRef = forwardRef<HTMLButtonElement, Props>(function IconButton(
Expand All @@ -78,7 +77,6 @@ const InternalIconButtonWithForwardRef = forwardRef<HTMLButtonElement, Props>(fu
tabIndex = 0,
tooltip,
type,
variant,
}: Props,
ref,
) {
Expand Down
3 changes: 1 addition & 2 deletions packages/gestalt/src/IconButtonFloating.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const IconButtonFloatingWithForwardRef = forwardRef<HTMLButtonElement, Props>(
ref,
) {
return (
<Box borderStyle="shadow" color="default" rounding="circle">
<Box borderStyle="shadow" color="default" rounding={4}>
<InternalIconButton
ref={ref}
accessibilityControls={accessibilityControls}
Expand All @@ -100,7 +100,6 @@ const IconButtonFloatingWithForwardRef = forwardRef<HTMLButtonElement, Props>(
selected={selected}
size="xl"
tooltip={tooltip}
variant="floating"
/>
</Box>
);
Expand Down

0 comments on commit 4caede9

Please sign in to comment.