npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

xverse-components-avatar-select

v1.0.9

Published

xverse components avatar-select

Downloads

84

Readme

API

| 参数名 | 类型 | 说明 | 默认值 | 是否必填 | 备注 | | --------------------- | -------------------------------------------- | ------------------------------------------ | ------ | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | | avatars | IAvatarConfig[] | 玩家配置信息 | - | false | - | | skipSelectWhenReEnter | boolean | 第二次进入时,是否跳过角色选择 | - | false | - | | needNickname | boolean | 是否需要昵称输入框 | true | false | - | | defaultNickName | string | 玩家默认昵称 | - | false | 所有用户的默认昵称 都取这个值 | | useBuiltInNickname | boolean | 当没有默认昵称时,默认昵称是否使用随机昵称 | true | false | - | | nicknameList | string | 随机昵称配置表 | - | false | - | | disabledNicknameInput | boolean | 是否禁止昵称输入框输入内容 | - | false | - | | randomNicknameIcon | string | 随机昵称图标 | - | false | 配置随机昵称图片,则点击随机昵称图标,昵称输入框内自动创建一个内置的随机昵称 | | namePlaceholder | string | 昵称输入框 placeholder | - | false | - | | nameSuffix | string | 用户最终输入后的昵称后缀 | - | false | 当需要在用户最终输入昵称后,添加其他内容作为后缀,比如老师、同学,最终的昵称是 XX 老师、XX 同学,注意昵称总长度不超过 17,如果输入昵称超过总长度则后缀不显示 | | nextBtnProps | IButtonProps | 下一步按钮 | - | false | - | | className | string | css 类名 | - | false | - | | style | CSSProperties | | - | false | - | | onSelect | (avatarId: string) => void | 点击角色时回调 | - | false | - | | onNext | (avatarId: string, nickname: string) => void | 角色选择完成时回调 | - | false | - |