React Native Clipboard API With Animated Toast Message

A React Native component for Clipboard API with animated toast message.

How to use it:

1. Install and import the component.

# Yarn
$ yarn add react-native-clipboard-toast
$ npm i react-native-clipboard-toast
import ClipboardToast from 'react-native-clipboard-toast';

2. Add the ClipboardToast to the app and define the text to be copied.

  textToShow={`Text To Show`}
  textToCopy={"Text To Copy"}

3. Default component props.

textToShow = '',
textToCopy = '',
toastText = 'Text is copied',
containerStyle = {},
textStyle = {},
id = 'someKey',
toastDuration = 750,
toastDelay = 0,
toastAnimation = true,
toastHideOnPress = true,
toastBackgroundColor = null,
toastTextColor = null,
toastOnShow = () => {},


React Native Clipboard API With Animated Toast Message

Download Details:

Author: idanlevi1

Live Demo: View The Demo

Download Link: Download The Source Code

Official Website:

License: MIT

You Might Be Interested In:

Add Comment