蚂蚁金服 Ant-design 常用组件和属性整理
1. 通用组件
1.1 Button
disabled - boolean
ghost - boolean
href - string
htmlType - string
icon -string
loading - boolean
shape - circle\round
size - small large
target - string
type - primary dahsed danger link
onClick - event
block - 父宽度 boolean
ConfigProvider 的 autoInsertSpaceInButton 为 false
1.2 Icon
type - string
style - CSSProps
theme - filled | outlined | twoTone
spin - boolean
rotate - number
component - componentType
twoToneColor - string
1.3 Typography
1.3.1 Text
copyable - boolean
delete - boolean
disabled - boolean
editable - boolean
ellipsis - 自动溢出省略
mark - boolean
underline - boolean
strong - boole