react-bootstrap 1.6.6 → 1.6.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/ModalHeader.d.ts +2 -2
- package/cjs/Popover.d.ts +1 -1
- package/esm/ModalHeader.d.ts +2 -2
- package/esm/Popover.d.ts +1 -1
- package/package.json +1 -1
package/cjs/ModalHeader.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { BsPrefixAndClassNameOnlyProps } from './helpers';
|
|
3
|
-
export interface ModalHeaderProps extends React.PropsWithChildren<BsPrefixAndClassNameOnlyProps>, React.
|
|
3
|
+
export interface ModalHeaderProps extends React.PropsWithChildren<BsPrefixAndClassNameOnlyProps>, React.HTMLAttributes<HTMLDivElement> {
|
|
4
4
|
closeLabel?: string;
|
|
5
5
|
closeButton?: boolean;
|
|
6
6
|
onHide?: () => void;
|
|
7
7
|
}
|
|
8
|
-
declare const ModalHeader: React.ForwardRefExoticComponent<
|
|
8
|
+
declare const ModalHeader: React.ForwardRefExoticComponent<ModalHeaderProps & React.RefAttributes<HTMLDivElement>>;
|
|
9
9
|
export default ModalHeader;
|
package/cjs/Popover.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import PopoverTitle from './PopoverTitle';
|
|
|
3
3
|
import PopoverContent from './PopoverContent';
|
|
4
4
|
import { ArrowProps, Placement } from './Overlay';
|
|
5
5
|
import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent } from './helpers';
|
|
6
|
-
export interface PopoverProps extends React.ComponentPropsWithoutRef<'div'>, BsPrefixPropsWithChildren {
|
|
6
|
+
export interface PopoverProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'content'>, BsPrefixPropsWithChildren {
|
|
7
7
|
id: string;
|
|
8
8
|
placement?: Placement;
|
|
9
9
|
title?: string;
|
package/esm/ModalHeader.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { BsPrefixAndClassNameOnlyProps } from './helpers';
|
|
3
|
-
export interface ModalHeaderProps extends React.PropsWithChildren<BsPrefixAndClassNameOnlyProps>, React.
|
|
3
|
+
export interface ModalHeaderProps extends React.PropsWithChildren<BsPrefixAndClassNameOnlyProps>, React.HTMLAttributes<HTMLDivElement> {
|
|
4
4
|
closeLabel?: string;
|
|
5
5
|
closeButton?: boolean;
|
|
6
6
|
onHide?: () => void;
|
|
7
7
|
}
|
|
8
|
-
declare const ModalHeader: React.ForwardRefExoticComponent<
|
|
8
|
+
declare const ModalHeader: React.ForwardRefExoticComponent<ModalHeaderProps & React.RefAttributes<HTMLDivElement>>;
|
|
9
9
|
export default ModalHeader;
|
package/esm/Popover.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import PopoverTitle from './PopoverTitle';
|
|
|
3
3
|
import PopoverContent from './PopoverContent';
|
|
4
4
|
import { ArrowProps, Placement } from './Overlay';
|
|
5
5
|
import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent } from './helpers';
|
|
6
|
-
export interface PopoverProps extends React.ComponentPropsWithoutRef<'div'>, BsPrefixPropsWithChildren {
|
|
6
|
+
export interface PopoverProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'content'>, BsPrefixPropsWithChildren {
|
|
7
7
|
id: string;
|
|
8
8
|
placement?: Placement;
|
|
9
9
|
title?: string;
|