1 | import * as React from "react";
|
2 |
|
3 | export type Omit<T, K extends keyof T> = Pick<
|
4 | T,
|
5 | ({ [P in keyof T]: P } & { [P in K]: never } & { [x: string]: never; [x: number]: never })[keyof T]
|
6 | >;
|
7 |
|
8 | export type Sizes = "xs" | "xsmall" | "sm" | "small" | "medium" | "lg" | "large";
|
9 |
|
10 | export interface SelectCallback extends React.EventHandler<any> {
|
11 | (eventKey: any, e: React.SyntheticEvent<{}>): void;
|
12 | |
13 |
|
14 |
|
15 |
|
16 |
|
17 | (e: React.MouseEvent<{}>): void;
|
18 | }
|
19 |
|
20 | export interface TransitionCallbacks {
|
21 | onEnter?(node: HTMLElement): any;
|
22 | onEntered?(node: HTMLElement): any;
|
23 | onEntering?(node: HTMLElement): any;
|
24 | onExit?(node: HTMLElement): any;
|
25 | onExited?(node: HTMLElement): any;
|
26 | onExiting?(node: HTMLElement): any;
|
27 | }
|
28 |
|
29 | export * from "./lib";
|
30 | export as namespace ReactBootstrap;
|