forked from mattermost/mattermost-webapp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
react-bootstrap.d.ts
22 lines (15 loc) · 774 Bytes
/
react-bootstrap.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
/* eslint-disable react/require-optimization */
// Here we are extending the Interface defined by @types/react-bootstrap to include out own
// additional types, this soon will be not needed when we upgrade React-Bootstrap version to latest
// Until that happens this is the fix
import * as React from 'react';
import {OverlayTriggerProps} from 'react-bootstrap';
export interface AdditionalOverlayTriggerProps extends React.ComponentPropsWithRef<typeof OverlayTriggerProps> {
className?: string;
}
declare class OverlayTrigger extends React.Component<AdditionalOverlayTriggerProps> {}
declare module 'react-bootstrap' {
export {OverlayTrigger};
}