UNPKG

1 kBTypeScriptView Raw
1import * as React from 'react';
2export default function fromBearer<T>(TagName: string): {
3 new (props: T): {
4 context: import("./bearer-provider").IBearerContextValue;
5 readonly eventRef: React.RefObject<HTMLInputElement>;
6 componentDidMount(): void;
7 componentWillUnmount(): void;
8 render(): JSX.Element;
9 readonly prophandler: (e: any) => void;
10 readonly handlers: string[];
11 setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<T>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
12 forceUpdate(callBack?: (() => void) | undefined): void;
13 readonly props: Readonly<{
14 children?: React.ReactNode;
15 }> & Readonly<T>;
16 state: Readonly<{}>;
17 refs: {
18 [key: string]: React.ReactInstance;
19 };
20 };
21 displayName: string;
22 contextType: React.Context<import("./bearer-provider").IBearerContextValue>;
23};
24
\No newline at end of file