DefinitelyTyped/types/react-native-share/Sheet.d.ts
Jesse Katsumata 5c0fe950c3 react-native-share: add types for components (#41395)
* react-native-share: add types for components

* react-native-share: apply lint

* react-native-share: apply lint
2020-01-06 15:38:23 -08:00

19 lines
422 B
TypeScript

import { Component, ReactNode } from 'react';
import { Animated, ViewProps } from 'react-native';
export interface SheetProps {
visible: boolean;
children: ReactNode;
}
export interface SheetState {
bottom: Animated.Value;
}
declare class Sheet extends Component<SheetProps, SheetState> {
UNSAFE_componentWillReceiveProps(newProps: SheetProps): void;
render(): JSX.Element;
}
export default Sheet;