react-waving-hand
Add smoothly animated waving hand to your react project in just a minute.
Installation
npm i @tensaye-yuan/react-waving-hand
# via yarn
yarn add @tensaye-yuan/react-waving-hand
# via pnpm
pnpm add @tensaye-yuan/react-waving-hand
Example
import { WavingHand } from '@tensaye-o/react-waving-hand'
import '@tensaye-yuan/react-waving-hand/dist/index.css'
// in jsx
const Greetings = () => (
<h3>
Hi there <WavingHand loop={2} motion={true} size='1.25rem' type={2} />
</h3>
)
Documentation
Check out the live demo.
Properties
Property | Type | Remarks |
---|---|---|
size |
|
Optional. Same as the css style property Default value |
type |
|
Optional. Based on Fitzpatrick scale. Default value |
motion |
|
Optional. When set to Default value |
loop |
|
Optional.
Default value |
others |
Attributes inherit from |