heils-ui-test

0.0.28 • Public • Published

HEILS UI

一个基于 React + Antd 的UI组件库

安装

// npm
npm install heils-ui
// yarn
yarn add heils-ui
// pnpm
pnpm install heils-ui --save

使用

import React from 'react';
import { createRoot } from 'react-dom/client';
import { TipIcon, DeleteSvg } from 'heils-ui';

const App = () => {
  
  const onClick = () => {
  	alert('触发点击事件');
  };
  
  return (
    <TipIcon title="删除" icon={DeleteSvg} onClick={onClick}>
  );
};

createRoot(document.getElementById('root')).render(<App />);

Readme

Keywords

none

Package Sidebar

Install

npm i heils-ui-test

Weekly Downloads

0

Version

0.0.28

License

none

Unpacked Size

16.5 MB

Total Files

11

Last publish

Collaborators

  • lk2
  • chenxinsheng
  • chpyke