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 🙏

© 2026 – Pkg Stats / Ryan Hefner

erc-ui

v1.0.2

Published

qeeq ui components

Readme

QEEQ-UI


Dialog

| 参数名 | 类型 | 说明 | | ---- | ---- | ---- | | visible | boolean | 是否展示 | | title | React.ReactNode | 蓝色header的标题,没有标题就是白色header | | width | number | 宽度 | | height | number | 高度 | | maskClosable | boolean | 点击蒙层是否关闭弹窗 | | closable | boolean | 是否出现关闭按钮 | | style | React.CSSProperties | 外层div样式 | | className | string | 外层div类名 | | onClose | Function | 点击关闭按钮回调 | | okText | string | footer确认按钮文案 | | cancelText | string | footer取消按钮文案 | | onOk | Function | 点击底部确认按钮回调 | | onCancel | Function | 点击底部取消按钮回调 | | confirmLoading | boolean | footer确认按钮是是否处于loading状态 |

createDialog

参数与上面Dialog的一致

createDialog({
    title: '弹窗标题',
    content: '弹窗内容',
    width: 700,
    height: 200
})

Button

| 参数名 | 类型 | 说明 | | ---- | ---- | ---- | | type | string | 按钮类型:primary、ghost、dashed、link | | height | string | 按钮高度:24、32、36、40、50 | | onClick | Function | 点击按钮回调 | | className | string | 按钮类名 | | loading | boolean | 按钮是否处于loading状态 | | isBlock | boolean | 按钮是否跟随父元素宽度扩展 |

Loading

| 参数名 | 类型 | 说明 | | ---- | ---- | ---- | | loading | boolean | 是否处于loading状态 | | children? | React.ReactNode | loading包裹元素 | | className? | string | loading icon类名 | | wrapperClassName? | string | 外层类名 | | style? | React.CSSProperties | 外层样式 | | size? | string | "small"、"default"、"large" | | tip? | string | loading下方的提示文案 |

Input

| 参数名 | 类型 | 说明 | | ---- | ---- | ---- | | size? | string | small、middle、large | | type? | string | text、email、hidden、password | | error? | boolean、string | 错误提示 | | validator? | Function | 函数接收参数为当前表单值value,返回为错误信息 | | onPressEnter? | Function | 回车回调 | | onChange? | Function | value改变回调 | | ref? | React.RefCallback | 获取input的dom元素 | | isSubmitting? | Boolean | 是否正在提交中 |

Tip

| 参数名 | 类型 | 说明 | | ---- | ---- | ---- | | trigger? | string | hover、click | | content | string、React.ReactNode | tip内容 | | defaultVisible? | boolean | 是否默认展示 | | visible? | boolean | 外部控制tip可见 | | delay? | number | tip展示延迟 | | placement? | string | Placement | | style? | React.CSSProperties | trigger的样式 | | wrapperClassName? | string | trigger类名 | | tipClassName? | string | tip内容的类名 | | children | React.ReactElement、string | trigger内容 | | theme? | string | dark、light |

Placement: 'top', 'topLeft', 'topRight', 'bottom', 'bottomLeft', 'bottomRight', 'left', 'leftTop', 'leftBottom', 'right', 'rightTop', 'rightBottom'

Tab、TabPane

Tab

| 参数名 | 类型 | 说明 | | ---- | ---- | ---- | | className? | string | 外层类名 | | style? | React.CSSProperties | 外层样式 | | children | React.ReactNode | | | defaultKey | string | 默认tab的key值 | | destroyHiddenPane | boolean | 隐藏测tab移除内容 | | theme | string | card、underline |

TabPane

| 参数名 | 类型 | 说明 | | ---- | ---- | ---- | | tabName | string | tab名称 | | tabKey | string | 表示tab的key值 | | className | string | tab pane的类名 | | style | React.CSSProperties | tab pane样式 | | children | React.ReactNode | tab pane 内容 | | active | boolean | 当前tabpane是否选中 |

使用🌰

<Tabs 
    defaultKey="22" 
    onChange={(item: any) => {
        console.log('点击item', item)
    }
}>
    <TabPane key="11" tabName="123123">
        123123
    </TabPane>
    <TabPane key="22" tabName="qweqwe">
        qweqwe
    </TabPane>
</Tabs>