Skip to content

Commit 3dd4dac

Browse files
authored
Merge pull request #112 from avin-kavish/inline-style-types
Add css types support for inline styling props
2 parents 95afde4 + 4eb324b commit 3dd4dac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/index.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ declare module 'reactjs-popup' {
2828
mouseLeaveDelay?: number;
2929
onOpen?: () => any;
3030
onClose?: () => any;
31-
contentStyle?: object;
32-
overlayStyle?: object;
33-
arrowStyle?: object;
31+
contentStyle?: React.CSSProperties;
32+
overlayStyle?: React.CSSProperties;
33+
arrowStyle?: React.CSSProperties;
3434
className?: string;
3535
keepTooltipInside?: boolean | string;
3636
}

0 commit comments

Comments
 (0)