Sign Icon
Component to show icon of sign. Built in React.
Getting Started
Installing
npm install sign-icon --save
Props
name: oneOf(['aries', 'touro', 'gemeos', 'cancer', 'leao', 'virgem', 'libra', 'escorpiao', 'sagitario', 'capricornio', 'aquario', 'peixes'])
element: bool
- Default value is false
. Set true
to show sign icons with element symbol.className: string
- Add custom className in component.
Usage
import SignIcon from 'sign-icon';
const YourComponent = () => {
return (
<div>
<SignIcon
classNames="custom-class"
name="cancer"
/>
</div>
)
};
Built With
Authors
License
This project is licensed under the MIT License - see the LICENSE.md file for details