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 f9db0e9 commit c55cb30Copy full SHA for c55cb30
packages/core/src/SwipeAction/README.md
@@ -5,11 +5,12 @@ SwipeAction 滑动操作组件。
5
### 基础示例
6
7
```jsx
8
-import React from 'react';
+import React,{ useRef } from 'react';
9
import {SwipeAction} from '@uiw/react-native';
10
import { View,Text } from 'react-native'
11
12
function Demo() {
13
+ const ref = useRef()
14
const right = [
15
{
16
text: '查看',
0 commit comments