lsttest

1.0.4 • Public • Published

使用方法:

import Icon from 'hrc-icon';

<Icon 
    type="angle-sm-down" 
    className="your-own-class-name" 
    onClick={()=>{}}
    title="your title"
    style="your style"
/>

配置项说明

属性 说明 类型 是否必填
type icon的名称 string
className 自定义的类 string
onClick 绑定单击事件 function
title title属性 string
style 自定义的style object
  • 该字体图标分两套,一套是基础图标(HUI),一套是专有的业务图标(Lida)
  • 基础图标的效果请查看\HUI-basic-icons\demo.html
  • 基础图标的命名,需去除前缀h-icon-h-icon,如demo.htmlh-icon-h-icon-add,那么使用时写type="add"
  • 业务图标的效果请到U+平台查看
  • 业务图标的命名不需要去除前缀,使用时请写U+平台设定的全名,如: 'type="lidaicon-h-add"'
  • lida图标,名称带-lg的均为大图标,虽然大图也能强制展示成小图,但是效果可能会和视觉有出入,需要注意

Readme

Keywords

Package Sidebar

Install

npm i lsttest

Weekly Downloads

3

Version

1.0.4

License

ISC

Unpacked Size

4.72 kB

Total Files

4

Last publish

Collaborators

  • liusitong