# test-ebd-react-components

> | [](http://godban.github.io/browsers-support-badges/)Firefox | [

Latest version **0.1.62** (published 2022-02-14) · 0 weekly downloads

## Install

```sh
npm install test-ebd-react-components
pnpm add test-ebd-react-components
yarn add test-ebd-react-components
bun add test-ebd-react-components
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.62 |
| Published | 2022-02-14 |
| First published | 2022-02-05 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 10 |
| Unpacked size | 1.4 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | dorisyyang |

## Links

- npm: https://www.npmjs.com/package/test-ebd-react-components
- Repository: https://github.com/eyebuydirect/test-ebd-react-components
- Homepage: https://github.com/eyebuydirect/test-ebd-react-components#readme
- Issues: https://github.com/eyebuydirect/test-ebd-react-components/issues
- npm.io page: https://npm.io/package/test-ebd-react-components

## Dependencies (10)

- [rc-tabs](https://npm.io/package/rc-tabs.md) ^11.10.1
- [rc-util](https://npm.io/package/rc-util.md) ^5.13.2
- [rc-dialog](https://npm.io/package/rc-dialog.md) ^8.6.0
- [rc-drawer](https://npm.io/package/rc-drawer.md) ^4.4.0
- [rc-motion](https://npm.io/package/rc-motion.md) ^2.4.1
- [classnames](https://npm.io/package/classnames.md) ^2.2.6
- [rc-tooltip](https://npm.io/package/rc-tooltip.md) ^5.1.1
- [rc-collapse](https://npm.io/package/rc-collapse.md) ^3.1.1
- [react-slick](https://npm.io/package/react-slick.md) ^0.27.14
- [@ant-design/icons](https://npm.io/package/@ant-design/icons.md) ^4.6.2

## Recent versions

- 0.1.62 (latest) — 2022-02-14
- 0.1.61 — 2022-02-13
- 0.1.59 — 2022-02-12
- 0.1.58 — 2022-02-12
- 0.1.57 — 2022-02-08
- 0.1.56 — 2022-02-05
- 0.1.55 — 2022-02-05
- 0.1.54 — 2022-02-05

## README

### @eyebuydirect/ebd.front.lib

#### It is a react UI library.

## [Documentation](https://frontlib.ebdoptical.com/)

## Environment Support
| [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png" alt="Firefox" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br>Firefox | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png" alt="Chrome" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br>Chrome | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png" alt="Safari" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br>Safari |
| --- | --- | --- |
| last 2 versions | last 2 versions | last 2 versions

### Installation

**npm**

```bash
npm install @eyebuydirect/ebd.front.lib --save
```

**yarn**

```bash
yarn add @eyebuydirect/ebd.front.lib
```

### Usage
```jsx
import { Button, Tooltip } from '@eyebuydirect/ebd.front.lib'

const App = () => (
  <>
    <Button type="primary">PRESS ME</Button>
    <Tooltip title="prompt text" placement="top" trigger="hover">tooltip</Tooltip>
  </>
);
```

And import style manually:

```jsx
import '@eyebuydirect/ebd.front.lib/dist/ebd.front.lib.css';
```

### 按需加载
默认支持基于 ES modules 的 tree shaking，对于 js 部分，直接引入 import { Button } from '@eyebuydirect/ebd.front.lib' 就会有按需加载的效果。

style按需加载,使用babel-plugin-import插件进行配置

<!-- ### 浏览器引入【待确定】
npm 发布包内的 @eyebuydirect/ebd.front.lib/dist 目录下提供了 ebd.front.lib.css 和 ebd.front.lib.min.css 以及 ebd.front.lib.js 和 ebd.front.lib.min.js
在浏览器中使用 script 和 link 标签直接引入文件,并使用全局变量 ebdFrontLib -->

### TypeScript

`@eyebuydirect/ebd.front.lib` is written in TypeScript with complete definitions, check [Use in TypeScript](https://ant.design/docs/react/use-in-typescript) to get started.


## Development

```bash
$ git clone git@github.com:eyebuydirect/ebd.front.lib.git
$ cd ebd.front.lib
$ npm install
$ npm run storybook
```

---
_Source: https://npm.io/package/test-ebd-react-components · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
