@berhiber/fqdavatar
v0.1.3
Published
FQDesign Avatar Components
Downloads
9
Readme
See this FQ Design Languange
Usage
| props | required | types | value | result | not specified | |:----------: |:--------: |:--------: |:----------------: |:--------------------------------: |----------------------------- | | size | no | string | Small | 32px | 48px | | | | | Large | 80px | username | | | | | X-Large | 115px | | | username | yes | string | "Any Value" | UPPERCASED for Every FirstLetter | | | avatarPath | no | string | "Path to Assets" | Background Avatar | UPPERCASED username initial | | urlTo | no | Location | | for onClick event | # |
Example
import Avatar from "@bia/fqdavatar";
..
<Avatar username='Abdul Alim'/>