1.0.0-preview.0 • Published 4 years ago
@cc-dev-kit-test/console-components-button v1.0.0-preview.0
@alicloud/console-components-button
对基础组件Button进行扩展的合集,有 按钮复选组, 方形图标按钮, 链接按钮
按钮复选组(ButtonCheckbox)
APIs
ButtonCheckbox
继承基础组件
Button
的API,除非特别说明 MDXInstruction:renderInterface:IButtonCheckboxProps
ButtonCheckbox.Group
MDXInstruction:renderInterface:IGroupProps
用法示例
基本用法
MDXInstruction:importDemo:BasicDemo
文本按钮
设置text
属性
MDXInstruction:importDemo:TextButton
方形按钮
MDXInstruction:importDemo:squareButton
方形图标按钮(IconButton)
APIs
继承基础组件
Button
的API,除非特别说明
MDXInstruction:renderInterface:IIconButtonProps
用法示例
基本用法
MDXInstruction:importDemo:iconButton
链接按钮(linkbutton)
APIs
MDXInstruction:renderInterface:ILinkButtonProps
用法示例
站外跳转
使用LinkButton进行站外跳转,通过props.Component
将LinkButton
将被渲染为<a />
MDXInstruction:importDemo:linkButtonHref
站内跳转
使用LinkButton进行内跳转,通过props.Component
将LinkButton
将被渲染为<Link />
1.0.1-preview.0
4 years ago
1.0.0-preview.0
4 years ago