We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34035c0 commit 8e9a7bdCopy full SHA for 8e9a7bd
packages/taro-ui/src/components/swipe-action/index.tsx
@@ -138,7 +138,7 @@ export default class AtSwipeAction extends React.Component<
138
139
public render(): JSX.Element {
140
const { componentId, offsetSize } = this.state
141
- const { options } = this.props
+ const { options, disabled } = this.props
142
const rootClass = classNames('at-swipe-action', this.props.className)
143
144
return (
@@ -163,6 +163,7 @@ export default class AtSwipeAction extends React.Component<
163
x={offsetSize}
164
onTouchEnd={this.onTouchEnd}
165
onChange={this.onChange}
166
+ disabled={disabled}
167
style={{
168
width: `${this.eleWidth}px`,
169
left: `${this.maxOffsetSize}px`
0 commit comments