1.1.26 • Published 2 years ago

@izilong/react-ui v1.1.26

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

@izilong/react-ui

  • 安装|install
npm i @izilong/react-ui
yarn add @izilong/react-ui
  • 使用|use
import XUI from '@izilong/react-ui'
  • 引入CSS
import '@izilong/react-ui/dist/css/index.css'

API Reference

  • 组件总览
XUI
  |-Button
  |-Confirm
  |-Icon
  |-Loading
  |-Notify
  |-VirtualList
  • Button | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | size | string | Optional. mini | normal | large | type | string | Optional. primary | success | danger | warning | info | default
  • Confirm | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | content | string | Required. content | title | string | Optional. title | type | string | Optional. type | leftText | number | Optional. leftText | rightText | number | Optional. rightText | autoClose | boolean | Optional. after click opteration auto close | isMaskShow | boolean | Optional. is show mask | style | object | Optional. { top: 10%, left: 50% }
  • Icon | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | size | number | Optional. | color | string | Optional. #fcc | type | string | Optional. icon-primary | icon-success | icon-danger | icon-warning | icon-info
  • Loading | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | imgSrc | string | Optional. import imgSrc from xxx | body | string \| Element | Optional. string | Element (document.querySelector) | tip | string | Optional. tip | duration | number | Optional. duration | isMaskShow | boolean | Optional. is show mask | style | object | Optional. { top: 10%, left: 50% }
  • Notify | Parameter | Type | Description | | :-------- | :------- | :------------------------- | | type | string | Optional. primary | success | danger | warning | info | content | string | Required. content | title | string | Optional. title | duration | number | Optional. duration | style | object | Optional. { top: 10%, left: 50% }
  • VirtualList
      <VirtualList visibleHeight={ 400 } handlePullupLoad={ addListData }>
        {
          listData.map(item => {
            return (
              <li className="item" key={ item.id }>{ item.id } { item.text }</li>
            )
          })
        }
      </VirtualList>
1.1.23

2 years ago

1.1.22

2 years ago

1.1.21

2 years ago

1.1.26

2 years ago

1.1.25

2 years ago

1.1.24

2 years ago

1.1.1

2 years ago

1.1.19

2 years ago

1.1.0

2 years ago

1.1.18

2 years ago

1.1.17

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.1.12

2 years ago

1.1.11

2 years ago

1.1.20

2 years ago

1.1.16

2 years ago

1.1.15

2 years ago

1.1.14

2 years ago

1.1.13

2 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago