# @alicloud/xconsole-rc-base-link

> 链接

Latest version **2.4.7** (published 2024-04-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install @alicloud/xconsole-rc-base-link
pnpm add @alicloud/xconsole-rc-base-link
yarn add @alicloud/xconsole-rc-base-link
bun add @alicloud/xconsole-rc-base-link
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.4.7 |
| Published | 2024-04-09 |
| First published | 2020-03-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=7.6.0 |
| Dependencies | 3 |
| Unpacked size | 64.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 81 |
| Maintainers | jacksontian, fengmk2, pagecao, aliyunsdkteam, console-fe |

## Links

- npm: https://www.npmjs.com/package/@alicloud/xconsole-rc-base-link
- Repository: https://github.com/aliyun/alibabacloud-console-design
- Issues: https://github.com/aliyun/alibabacloud-console-design/issues
- npm.io page: https://npm.io/package/@alicloud/xconsole-rc-base-link

## Dependencies (3)

- [recompose](https://npm.io/package/recompose.md) ^0.27.1
- [classnames](https://npm.io/package/classnames.md) ^2.2.5
- [resolve-pathname](https://npm.io/package/resolve-pathname.md) ^2.2.0

## Recent versions

- 2.4.7 (latest) — 2024-04-09
- 2.0.0-next.2 (next) — 2020-09-29
- 2.0.0-alpha.8 (alpha) — 2020-08-18
- 2.4.6 — 2024-04-03
- 2.4.5 — 2024-04-03
- 2.4.4 — 2022-06-28
- 2.3.36 — 2021-10-25
- 2.3.5 — 2021-03-05
- 2.3.4 — 2021-03-04
- 1.0.0-beta.3 — 2021-01-12
- 2.0.0 — 2020-10-15
- 2.0.0-next.1 — 2020-09-29
- 2.0.0-alpha.7 — 2020-08-13
- 2.0.0-alpha.6 — 2020-08-12
- 2.0.0-y.0 — 2020-08-11
- … 8 more at https://npm.io/package/@alicloud/xconsole-rc-base-link/versions

## README

# @alicloud/xconsole-rc-base-link

链接

## 基本用法
#include "demo/basic.js"
#include "demo/basic.less"

## APIs

### Link

| Param | Description | Type | Default |
|--------|-------------|------|---------|
|shape|链接显示为何种形态，默认为显示为普通链接 ``text``，也可以显示为按钮 ``button``|``string``|``'text'``|
|type|强调类型，目前只在 ``shape="button"`` 时生效，可选值为 ``normal``（默认） ``primary`` ``secondary``|``string``|``'normal'``|
|size|尺寸，目前只在 ``shape="button"`` 时生效，可选值为 ``medium`` ``small`` ``large``|``string``|``'medium'``|
|disabled|是否禁用|`boolean | function`|``false``|
|visible|是否显示|`boolean | function`|``true``|
|relative|如果是相对路径，将会修改 `to` 为 relativePath|`boolean`||
|other|参考 [react-router/api/Link](https://reacttraining.com/react-router/web/api/Link)|

---
_Source: https://npm.io/package/@alicloud/xconsole-rc-base-link · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
