dfm-demo-component
TypeScript icon, indicating that this package has built-in type declarations

1.0.7 • Public • Published

TODO

  • [x] Button

组件使用说明

Button 按钮

代码示例

<Button title={'button1'} type={'primary'}/>

API 说明

属性 说明 类型 是否必传 默认值
title 按钮文案 string true -
type 按钮类型,可选值为 'primary' 'default' 'light' false
size 按钮大小,可选值为 'large' 'base' 'small' false
icon 按钮icon ImageSourcePropType false -
disabled 是否禁止点击 boolean false -
style button样式 StyleProp false -
iconStyle icon样式 StyleProp false -
textStyle 文案样式 StyleProp false -
activeViewStyle 点击按钮样式 StyleProp false -
activeTextStyle 点击文案样式 StyleProp false -
onPress 点击回调方法 Function false -

Readme

Keywords

Package Sidebar

Install

npm i dfm-demo-component

Weekly Downloads

0

Version

1.0.7

License

ISC

Unpacked Size

9.55 kB

Total Files

11

Last publish

Collaborators

  • dengfuming