mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* react-native-share: add types for components * react-native-share: apply lint * react-native-share: apply lint
19 lines
422 B
TypeScript
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;
|