1.1.9 • Published 1 year ago

@types/react-native-snackbar-component v1.1.9

Weekly downloads
537
License
MIT
Repository
github
Last release
1 year ago

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

Credits

These definitions were written by Haseeb Majid.

1.1.9

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

3 years ago

1.1.0

6 years ago