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 ce3f8df commit cd8edbeCopy full SHA for cd8edbe
packages/compass-components/src/components/document-list/document-actions-group.tsx
@@ -4,6 +4,7 @@ import { spacing } from '@leafygreen-ui/tokens';
4
import { Button, Icon, Tooltip } from '../leafygreen';
5
import type { Signal } from '../signal-popover';
6
import { SignalPopover } from '../signal-popover';
7
+import type { ButtonProps } from '@leafygreen-ui/button';
8
9
const actionsGroupContainer = css({
10
position: 'absolute',
@@ -83,8 +84,7 @@ function ActionButton({
83
84
tooltipText,
85
tooltipEnabled,
86
...props
-}: // @ts-expect-error - LG Polymorphic wrapper confuses TS 5
87
-Partial<React.ComponentProps<typeof Button>> & {
+}: Partial<ButtonProps> & {
88
tooltipText: string;
89
tooltipEnabled: boolean;
90
}) {
0 commit comments