1.0.5 • Published 3 years ago
cartoon-eyes v1.0.5
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