1.0.5 • Published 1 year ago

cartoon-eyes v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Cartoon Eyes for React

A React component that exports a customisable cartoon eye as inline SVG code.

Example usage

npm install cartoon-eyes

import { Eye } from 'cartoon-eyes';

function App() {
  return (
    <Eye 
      irisColor='#0000ff' 
      scleraWidth={80} 
      scleraHeight={55} 
      irisSize={80} 
      pupilWidth={30} 
      blinking={true} />
  );
}

export default App;

👉 Demo

More documentation coming soon.

Licence

MIT

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago