Skip to content

ngothanhtai/react-native-auto-typing-text

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

react-native-auto-typing-text

Auto typing text component.

Demo

Demo

Installation

npm install --save react-native-auto-typing-text

Usage

import AutoTypingText from 'react-native-auto-typing-text';

<AutoTypingText
  text={`có căn nhà nằm nghe nắng mưa`}
  charMovingTime={80}
  delay={0}
  style={{
    position: 'absolute',
    width: 300,
    fontSize: 30,
    color: 'rgba(0,0,0,0.7)',
    backgroundColor: 'rgba(0,0,0,0)',
    margin: 20,
    top: 240,
    left: 0,
  }}
  onComplete={() => { console.log('done'); }}
/>

Properties

Prop Type Description
text string Text to type
charMovingTime number time to type each character
delay number Delay time before typing
style string Style for text
onComplete func is called when typing completed

About

Auto typing text component for react-native

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published