1.10.5 • Published 2 years ago

chatanimations v1.10.5

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Usage

To use the Chat Animations Library in your React application, you can import the various animation components provided by the library and include them in your components.

Demo

You can see a live demo of all component Here.

WordByWord Component

The WordByWord component animates text a word by word effect.

PropDescription
textThe text you want to animate word by word.
delayThe delay (in milliseconds) between each word animation.
getLoadingA function that can be used to handle loading state.
getValueA function that can be used to get the value.

Example usage:

import WordByWord from 'chatanimations/WordByWord';

const getValue = (value) => {
	console.log(value);
};

const getLoading = (value) => {
	console.log(value);
};

function App() {
	return (
		<div className='App'>
			<WordByWord
				text={'I am navneet vaishnav'}
				delay={1000}
				getLoading={getLoading}
				getValue={getValue}
			/>
		</div>
	);
}

BounceMessage Component

The BounceMessage component animates text with a bounce effect.

PropDescription
textThe text you want to animate bounce effect.
delayThe delay (in milliseconds) for animation.

Example usage:

import BounceMessage from 'chatanimations/BounceMessage';

function App() {
	return (
		<div className='App'>
			<BounceMessage text={'I am navneet vaishnav'} delay={1000} />
		</div>
	);
}

FadeInSlideInMessage Component

The FadeInSlideInMessage component animates with text fade-in and slide-in effect .

PropDescription
textThe text you want to animate fade-in and slide-in effect.
delayThe delay (in milliseconds) for animation.

Example usage:

import FadeInSlideInMessage from 'chatanimations/FadeInSlideInMessage';

function App() {
	return (
		<div className='App'>
			<FadeInSlideInMessage text={'I am navneet vaishnav'} delay={1000} />
		</div>
	);
}

MessageFadeInAnimation Component

The MessageFadeInAnimation component animates text with a fade-in effect .

PropDescription
textThe text you want to animate fade-in effect.
delayThe delay (in milliseconds) for animation.

Example usage:

import MessageFadeInAnimation from 'chatanimations/MessageFadeInAnimation';

function App() {
	return (
		<div className='App'>
			<MessageFadeInAnimation text={'I am navneet vaishnav'} delay={1000} />
		</div>
	);
}

PopMessage Component

The PopMessage component animates text with a pop effect .

PropDescription
textThe text you want to animate fade-in effect.
delayThe delay (in milliseconds) for animation.

Example usage:

import PopMessage from 'chatanimations/PopMessage';

function App() {
	return (
		<div className='App'>
			<PopMessage text={'I am navneet vaishnav'} delay={1000} />
		</div>
	);
}
1.10.5

2 years ago

1.10.4

2 years ago

1.10.3

2 years ago

1.10.2

2 years ago

1.10.1

2 years ago

1.9.9

2 years ago

1.9.8

2 years ago

1.9.7

2 years ago

1.9.6

2 years ago

1.9.5

2 years ago

1.9.4

2 years ago

1.9.3

2 years ago

1.9.2

2 years ago

1.9.1

2 years ago

1.9.0

2 years ago

1.8.9

2 years ago

1.8.8

2 years ago

1.8.7

2 years ago

1.8.6

2 years ago

1.8.5

2 years ago

1.8.4

2 years ago

1.8.3

2 years ago

1.8.2

2 years ago

1.8.1

2 years ago

1.7.9

2 years ago

1.7.8

2 years ago

1.7.7

2 years ago

1.7.6

2 years ago

1.7.4

2 years ago

1.7.3

2 years ago

1.7.2

2 years ago

1.7.1

2 years ago

1.6.0

2 years ago

1.5.0

2 years ago

1.4.0

2 years ago

1.3.0

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago