2.4.7 • Published 1 year ago

@alicloud/xconsole-rc-base-link v2.4.7

Weekly downloads
16
License
MIT
Repository
github
Last release
1 year ago

@alicloud/xconsole-rc-base-link

链接

基本用法

#include "demo/basic.js" #include "demo/basic.less"

APIs

Link

ParamDescriptionTypeDefault
shape链接显示为何种形态,默认为显示为普通链接 text,也可以显示为按钮 buttonstring'text'
type强调类型,目前只在 shape="button" 时生效,可选值为 normal(默认) primary secondarystring'normal'
size尺寸,目前只在 shape="button" 时生效,可选值为 medium small largestring'medium'
disabled是否禁用boolean | functionfalse
visible是否显示boolean | functiontrue
relative如果是相对路径,将会修改 to 为 relativePathboolean
other参考 react-router/api/Link