轻松为您的项目创建角色
使用 Bean Heads 便捷地为您的项目生成头像。https://beanheads.robertbroersma.com ### 试试看 前往 [我们的在线游戏场](https://beanheads.robertbroersma.com/editor)! ### 开始使用 ```shell yarn add beanheads ``` 或者 ```shell npm install beanheads --save ``` 然后,在您的应用中: ```jsx import { BeanHead } from 'beanheads'
const Example = () => ( )
### 道具
- [`accessory`](#accessory)
- [`body`](#body)
- [`circleColor`](#circlecolor)
- [`clothing`](#clothing)
- [`clothingColor`](#clothingcolor)
- [`eyebrows`](#eyebrows)
- [`eyes`](#eyes)
- [`facialHair`](#facialhair)
- [`graphic`](#graphic)
- [`hair`](#hair)
- [`hairColor`](#haircolor)
- [`hat`](#hat)
- [`hatColor`](#hatcolor)
- [`lashes`](#lashes)
- [`lipColor`](#lipcolor)
- [`mask`](#mask)
- [`faceMask`](#faceMask)
- [`mouth`](#mouth)
- [`skinTone`](#skinTone)
# 参考
## 道具
### `accessory`
配件类型
| 类型 | 必填 |
| ----------------------------------------------------- | -------- |
| enum('none', 'roundGlasses', 'tinyGlasses', 'shades') | 否 |
---
### `body`
身体类型
| 类型 | 必需 |
| ----------------------------------------------------------------- | -------- |
| enum('naked', 'shirt', 'dressShirt', 'vneck', 'tankTop', 'dre
<a href="https://www.buymeacoffee.com/robertbroersma" target="_blank"></a>暂无开放 Issues,或尚未同步最近议题。