Skip to content

Commit cd0a869

Browse files
fix: allow null for data-tooltip-content
1 parent 60ed92f commit cd0a869

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/TooltipController/TooltipControllerTypes.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ declare module 'react' {
7676
interface HTMLAttributes<T> extends AriaAttributes, DOMAttributes<T> {
7777
'data-tooltip-id'?: string
7878
'data-tooltip-place'?: PlacesType
79-
'data-tooltip-content'?: string
80-
'data-tooltip-html'?: string
79+
'data-tooltip-content'?: string | null
80+
'data-tooltip-html'?: string | null
8181
'data-tooltip-variant'?: VariantType
8282
'data-tooltip-offset'?: number
8383
'data-tooltip-wrapper'?: WrapperType

0 commit comments

Comments
 (0)