default avatar helper:创建默认头像的助手 源码
默认头像帮助器 用于创建默认头像的助手。 用法 import { getDefaultAvatarDetails } from 'default-avatar-helper' const palette = [ 'red' , 'green' , 'blue' ] const name = 'random name' // Providing both arguments at once will return a result object straight away: const { colour , initials } = getDefaultAvatarDetails ( palette , name ) // Alternatively, since `getDefaultAvatarDetails` is curried, you can do // something l
文件列表
default-avatar-helper-master.zip
(预估有个34文件)
default-avatar-helper-master
.nvmrc
6B
rollup.config.js
3KB
index.js
215B
renovate.json
383B
package.json
3KB
.github
workflows
ci.yml
343B
test
暂无评论