# @teamix/quick-entry-card

> 快捷入口卡片

Latest version **1.0.5** (published 2022-03-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install @teamix/quick-entry-card
pnpm add @teamix/quick-entry-card
yarn add @teamix/quick-entry-card
bun add @teamix/quick-entry-card
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2022-03-24 |
| First published | 2021-01-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 1.3 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | yofine, kiwikang99, zhongliang.lsh, zuoqi, zaranengap, purple-force, cyris, roy.mellon, ifblooms, dingyu.wdy, damujiangr, linzx, talent_xwd, bowei.jbw, maplor, lucy.cl, jiangcheng001, chesstar |
| Keywords | teamix, react, component |

## Links

- npm: https://www.npmjs.com/package/@teamix/quick-entry-card
- Homepage: https://unpkg.com/@teamix/quick-entry-card@1.0.5/build/index.html
- npm.io page: https://npm.io/package/@teamix/quick-entry-card

## Dependencies (2)

- [prop-types](https://npm.io/package/prop-types.md) ^15.5.8
- [@alicloudfe/components](https://npm.io/package/@alicloudfe/components.md) ^1.0.0

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.5 (latest) — 2022-03-24
- 1.0.4 — 2021-04-12
- 1.0.3 — 2021-03-31
- 1.0.2 — 2021-03-31
- 1.0.1 — 2021-01-19
- 1.0.0 — 2021-01-07

## README

# 快捷入口卡片

用于展示一些链接类快捷入口的卡片组件。

## API

```ts
interface IProps extends CardProps {
  dataSource: IEntry[];
  col?: number;
}
```

| 参数名 | 说明 | 必填 | 类型 | 默认值 | 备注 |
| ------ | ---- | ---- | ---- | ------ | ---- |
| dataSource | 一个数组，字段见下方 IEntry | 是 | IEntry[] |        |      |
| col | 定义快捷入口有几列，默认为 3 列 | 否 | number | 3 |  |

其他 API 与 [Card 组件](https://fusion.alibaba-inc.com/13211/component/basic/card#demo-api) 相同（如 title、extra 等）。

### IEntry

```ts
interface IEntry {
  text?: string;
  href?: string;
  target?: string;
  icon?: JSX.Element;
  onClick?: () => void;
  jsx?: JSX.Element; // jsx 属性存在时，上述属性均失效，直接渲染该属性
}
```

text、href 等属性用于描述一个快捷入口链接，你也可以使用 jsx 属性自定义要渲染的东西。

---
_Source: https://npm.io/package/@teamix/quick-entry-card · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
