项目作者: afeiship

项目描述 :
Abstract radio component for react.
高级语言: JavaScript
项目地址: git://github.com/afeiship/react-radio-group.git
创建时间: 2016-12-17T13:14:34Z
项目社区:https://github.com/afeiship/react-radio-group

开源协议:MIT License

下载


kiv

Key includes value.

@jswork/kiv"">version
license
size
@jswork/kiv"">download

installation

  1. npm install @jswork/kiv

usage

  1. import kiv from '@jswork/kiv';
  2. const str2icon = {
  3. '@beta': '🍏',
  4. '@production': '🍎',
  5. '@upload': '🚚',
  6. '@cache': '📦',
  7. };
  8. kiv('Current msg is __@beta__.', str2icon); // Current msg is 🍏.
  9. kiv('Current msg is __@production__.', str2icon); // Current msg is 🍎.
  10. kiv('Current msg is __@upload__.', str2icon); // Current msg is 🚚.
  11. kiv('Current msg is __@cache__.', str2icon); // Current msg is 📦.
  12. kiv('Current msg is __@unknown__.', str2icon); // Current msg is ''.
  13. kiv('Current msg is __@unknown__.', str2icon, '🍌'); // Current msg is 🍌.

license

Code released under the MIT license.