0.2.0 • Published 4 months ago

@dblatcher/funny-face v0.2.0

Weekly downloads
-
License
-
Repository
-
Last release
4 months ago

funny-face-lib

This is a react component library for adding customisable, animated faces to your project.

installation

npm: npm i @dblatcher/funny-face

yarn: yarn add @dblatcher/funny-face

Example usage

import {
  FunnyFace,
  browShapes,
  expressions,
} from 'funny-face-lib';

export const MyComponentWithFaces = () => (
<div>
    <FunnyFace
        size={20}
        expression={expressions.HAPPY}
        profile ={
            eyeColor:"green",
            browShape: browShapes.THIN,
        }
    />
    <FunnyFace
        size={24}
        talking
        profile ={
            eyeColor:"blue",
            width: 0.7,
            browShape: browShapes.WIDE,
        }
    />
</div>
)

0.2.0

4 months ago

0.1.8

7 months ago

0.1.7

7 months ago

0.1.6

7 months ago

0.1.5

7 months ago

0.1.4

7 months ago

0.1.3

7 months ago

0.1.2

7 months ago

0.1.1

7 months ago

0.0.1

7 months ago