react-native-web-hooks
Version:
Hooks for React Native web and Expo
19 lines (18 loc) • 618 B
TypeScript
import * as React from 'react';
export default class Resizable extends React.Component<{
target: 'window' | 'screen';
}> {
static displayName: string;
static propTypes: {
children: import("prop-types").Requireable<((...args: any[]) => any) | import("prop-types").ReactElementLike>;
target: import("prop-types").Requireable<string>;
};
static defaultProps: {
target: string;
};
constructor(props: any);
componentDidMount(): void;
componentWillUnmount(): void;
resize: (props: any) => void;
render(): React.DetailedReactHTMLElement<{}, HTMLElement>;
}