sign-icon
v1.2.8
Published
component to show sign icon
Downloads
5
Readme
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'])
- *Required
element: bool
- Default value isfalse
. Settrue
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
- React - Library
- PropTypes - Require props for types
- ClassNames - Used to manage classes dynamically
Authors
- Jonas Antonelli -jonasantonelli
License
This project is licensed under the MIT License - see the LICENSE.md file for details