mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Add React.ReactInstance to OverlayProps.target (#16379)
OverlayProps.target can be either a function or a React.ReactInstance. See: https://github.com/react-bootstrap/react-overlays/blob/master/src/Position.js Line: 82 and 83
This commit is contained in:
parent
592bec15d4
commit
24c67b0a09
2
types/react-bootstrap/index.d.ts
vendored
2
types/react-bootstrap/index.d.ts
vendored
@ -442,7 +442,7 @@ declare namespace ReactBootstrap {
|
||||
placement?: string;
|
||||
rootClose?: boolean;
|
||||
show?: boolean;
|
||||
target?: Function;
|
||||
target?: Function | React.ReactInstance;
|
||||
shouldUpdatePosition?: boolean;
|
||||
}
|
||||
class Overlay extends React.Component<OverlayProps, {}> {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user