Skip to content

Commit 0704d34

Browse files
authored
docs(vk-bridge-react): fix types and typo (#413)
1 parent 8e3b73d commit 0704d34

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

packages/react/README.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const App = () => {
2323

2424
return (
2525
<div style={{ paddingTop: insets?.top }}>
26-
<button onClick={handleClick}>Touch to me and feel</button>
26+
<button onClick={handleClick}>Touch me and feel</button>
2727
</div>
2828
);
2929
};
@@ -103,12 +103,6 @@ const App = () => {
103103
</td>
104104
</tr>
105105

106-
<tr>
107-
<td> <code>runTapticImpactOccurred</code> </td>
108-
<td> <code>void</code> </td>
109-
<td> Function dispatches <code>VKWebAppTapticImpactOccurred</code> event if it is support. </td>
110-
</tr>
111-
112106
</table>
113107

114108
## Helpers
@@ -123,8 +117,8 @@ const App = () => {
123117

124118
<tr>
125119
<td> <code>runTapticImpactOccurred</code> </td>
126-
<td> <code>void</code> </td>
127-
<td> Function dispatches <code>VKWebAppTapticImpactOccurred</code> event if it is support. </td>
120+
<td> <code>boolean</code> </td>
121+
<td> Function dispatches <code>VKWebAppTapticImpactOccurred</code> event if it is support (will return <code>true</code>). </td>
128122
</tr>
129123

130124
</table>

0 commit comments

Comments
 (0)