uxcore-person-info-icon

uxcore-person-info-icon component for uxcore.

Usage no npm install needed!

<script type="module">
  import uxcorePersonInfoIcon from 'https://cdn.skypack.dev/uxcore-person-info-icon';
</script>

README

uxcore-person-info-icon

React person info icon

NPM version build status Test Coverage Dependency Status devDependency Status NPM downloads

Sauce Test Status

Development

git clone https://github.com/uxcore/uxcore-person-info-icon
cd uxcore-person-info-icon
npm install
npm run server

if you'd like to save your install time,you can use uxcore-tools globally.

npm install uxcore-tools -g
git clone https://github.com/uxcore/uxcore-person-info-icon
cd uxcore-person-info-icon
npm install
npm run dep
npm run start

Test Case

npm run test

Coverage

npm run coverage

Demo

http://uxcore.github.io/components/person-info-icon

Contribute

Yes please! See the CONTRIBUTING for details.

API

Props

Name Type Required Default Comments
className string No - 额外类名
overlayClassName string No - 浮层额外类名
emplId string No "" 工号
name string No - 姓名
nickName string No - 花名
email string No - 邮箱
locale string No zh-cn 国际化参数,可选值: zh-cn, en-us
onChangeI18n func(prevLocale) No noop 参数为当前的 locale
onVisibleChange func(visible) No noop 浮层展示状态改变时的回调