@dblatcher/funny-face
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

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>
)

Readme

Keywords

none

Package Sidebar

Install

npm i @dblatcher/funny-face

Weekly Downloads

1

Version

0.2.0

License

none

Unpacked Size

83.6 kB

Total Files

31

Last publish

Collaborators

  • dblatcher