Skip to content

ripeworks/react-native-slide-alert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

react-native-slide-alert

A slide from top alert view

Usage

// MyComponent.js
import { AlertBar } from 'react-native-slide-alert'

export default () =>
  <View>
    <AlertBar />
  </View>

// AnotherComponent.js
import Alert from 'react-native-slide-alert'

export default class extends React.Component {

  onError = () => {
    Alert.showAlert({
      message: 'Alarm! Alarm!',
      alertType: 'error'
    })
  }

  render () {
    return <View />
  }
}

About

A slide from top alert view

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published