UNPKG

react-web-native-sketch

Version:

[TODO: We need an overview of how this can be used via npm vs as a local package]

30 lines (29 loc) 1.16 kB
import * as React from 'react'; export declare const Link: { new (props: Readonly<{}>): { render(): null; setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; forceUpdate(callBack?: (() => void) | undefined): void; readonly props: Readonly<{ children?: React.ReactNode; }> & Readonly<{}>; state: Readonly<{}>; context: any; refs: { [key: string]: React.ReactInstance; }; }; new (props: {}, context?: any): { render(): null; setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; forceUpdate(callBack?: (() => void) | undefined): void; readonly props: Readonly<{ children?: React.ReactNode; }> & Readonly<{}>; state: Readonly<{}>; context: any; refs: { [key: string]: React.ReactInstance; }; }; };