1.1.9 • Published 11 months ago
@types/react-native-snackbar-component v1.1.9
Installation
npm install --save @types/react-native-snackbar-component
Summary
This package contains type definitions for react-native-snackbar-components (https://github.com/sidevesh/react-native-snackbar).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-native-snackbar-component.
index.d.ts
// Type definitions for react-native-snackbar-components 1.1
// Project: https://github.com/sidevesh/react-native-snackbar
// Definitions by: Haseeb Majid <https://github.com/hmajid2301>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
import * as React from 'react';
import { TextStyle } from 'react-native';
export interface SnackbarComponentProps {
accentColor?: string | undefined;
actionText?: string | undefined;
messageColor?: string | undefined;
backgroundColor?: string | undefined;
distanceCallback?: (() => void) | undefined;
actionHandler?: (() => void) | undefined;
left?: number | undefined;
right?: number | undefined;
bottom?: number | undefined;
position?: string | undefined;
textMessage?: string | undefined;
autoHidingTime?: number | undefined;
visible?: boolean | undefined;
}
export default class SnackbarComponent extends React.Component<SnackbarComponentProps> {}
Additional Details
- Last updated: Thu, 08 Jul 2021 22:41:18 GMT
- Dependencies: @types/react, @types/react-native
- Global values: none
Credits
These definitions were written by Haseeb Majid.