Skip to content

Commit cd8edbe

Browse files
committed
more ts fixes
1 parent ce3f8df commit cd8edbe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/compass-components/src/components/document-list/document-actions-group.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { spacing } from '@leafygreen-ui/tokens';
44
import { Button, Icon, Tooltip } from '../leafygreen';
55
import type { Signal } from '../signal-popover';
66
import { SignalPopover } from '../signal-popover';
7+
import type { ButtonProps } from '@leafygreen-ui/button';
78

89
const actionsGroupContainer = css({
910
position: 'absolute',
@@ -83,8 +84,7 @@ function ActionButton({
8384
tooltipText,
8485
tooltipEnabled,
8586
...props
86-
}: // @ts-expect-error - LG Polymorphic wrapper confuses TS 5
87-
Partial<React.ComponentProps<typeof Button>> & {
87+
}: Partial<ButtonProps> & {
8888
tooltipText: string;
8989
tooltipEnabled: boolean;
9090
}) {

0 commit comments

Comments
 (0)