UNPKG

@tarojsx/ui

Version:

We reinvents the UI for Taro3+

95 lines (53 loc) 2.06 kB
--- id: "_button_.buttonprops" title: "ButtonProps" sidebar_label: "ButtonProps" --- ## Hierarchy * object * object ↳ **ButtonProps** ## Index ### Properties * [className](_button_.buttonprops.md#optional-classname) * [clickThrottle](_button_.buttonprops.md#optional-clickthrottle) * [fab](_button_.buttonprops.md#optional-fab) * [iconInfo](_button_.buttonprops.md#optional-iconinfo) * [size](_button_.buttonprops.md#optional-size) * [style](_button_.buttonprops.md#optional-style) * [transparent](_button_.buttonprops.md#optional-transparent) * [type](_button_.buttonprops.md#optional-type) ## Properties ### `Optional` className • **className**? : *string* *Defined in [src/Button.tsx:13](https://github.com/tarojsx/ui/blob/v0.11.0/src/Button.tsx#L13)* ___ ### `Optional` clickThrottle • **clickThrottle**? : *boolean | number* *Defined in [src/Button.tsx:18](https://github.com/tarojsx/ui/blob/v0.11.0/src/Button.tsx#L18)* onClick 事件节流时间间隔, 单位: ms, 默认 500ms. ___ ### `Optional` fab • **fab**? : *boolean* *Defined in [src/Button.tsx:22](https://github.com/tarojsx/ui/blob/v0.11.0/src/Button.tsx#L22)* ___ ### `Optional` iconInfo • **iconInfo**? : *[IconProps](_icon_.iconprops.md)* *Defined in [src/Button.tsx:21](https://github.com/tarojsx/ui/blob/v0.11.0/src/Button.tsx#L21)* ___ ### `Optional` size • **size**? : *_ButtonProps["size"] | AtButtonProps["size"]* *Defined in [src/Button.tsx:16](https://github.com/tarojsx/ui/blob/v0.11.0/src/Button.tsx#L16)* ___ ### `Optional` style • **style**? : *CSSProperties* *Defined in [src/Button.tsx:14](https://github.com/tarojsx/ui/blob/v0.11.0/src/Button.tsx#L14)* ___ ### `Optional` transparent • **transparent**? : *boolean* *Defined in [src/Button.tsx:20](https://github.com/tarojsx/ui/blob/v0.11.0/src/Button.tsx#L20)* 透明按钮 ___ ### `Optional` type • **type**? : *_ButtonProps["type"] | AtButtonProps["type"] | "error"* *Defined in [src/Button.tsx:15](https://github.com/tarojsx/ui/blob/v0.11.0/src/Button.tsx#L15)*