Options can be passed directly to the Avatar component as React props or provided to the genConfig function.
Note on React Props: The following keys are exclusive to React props and cannot be used inside genConfig: id, className, style, and shape.
| key | type | default | accept | tips |
| -------------- | ------ | ------- | ---------------------------------------- | -------------------- |
| `id` | string | | | Only for React Props |
| `className` | string | | | Only for React Props |
| `style` | object | | | Only for React Props |
| `shape` | string | circle | circle, rounded, square | Only for React Props |
| `sex` | string | | man, woman | |
| `faceColor` | string | | | |
| `earSize` | string | | small, big | |
| `hairColor` | string | | | |
| `hairStyle` | string | | normal, thick, mohawk, womanLong, womanShort | |
| `hairColorRandom` | boolean | false | | thick,mohawk default only be black |
| `hatColor` | string | | | |
| `hatStyle` | string | | none, beanie, turban | Usually is none |
| `eyeStyle` | string | | circle, oval, smile | |
| `glassesStyle` | string | | none, round, square | Usually is none |
| `noseStyle` | string | | short, long, round | |
| `mouthStyle` | string | | laugh, smile, peace | |
| `shirtStyle` | string | | hoody, short, polo | |
| `shirtColor` | string | | | |
| `bgColor` | string | | | |
| `isGradient` | boolean | false | | |