Skip to content

Commit 9a14ada

Browse files
committed
fix(CPopover, CTooltip): incorrectly extends interface
1 parent 5150fb5 commit 9a14ada

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/coreui-react/src/components/popover/CPopover.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { Transition } from 'react-transition-group'
88
import { triggerPropType } from '../../props'
99
import type { Triggers } from '../../types'
1010

11-
export interface CPopoverProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
11+
export interface CPopoverProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title' | 'content'> {
1212
/**
1313
* A string of all className you want applied to the component.
1414
*/

packages/coreui-react/src/components/tooltip/CTooltip.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { Transition } from 'react-transition-group'
88
import { triggerPropType } from '../../props'
99
import type { Triggers } from '../../types'
1010

11-
export interface CTooltipProps extends HTMLAttributes<HTMLDivElement> {
11+
export interface CTooltipProps extends Omit<HTMLAttributes<HTMLDivElement>, 'content'> {
1212
/**
1313
* A string of all className you want applied to the component.
1414
*/

0 commit comments

Comments
 (0)