Skip to content

Commit

Permalink
docs(Getting Started): replace onPress with onClick (#352)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas742 authored Mar 16, 2020
1 parent ef1934a commit 5297e76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/welcome/Welcome.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ import { Button } from '@ui5/webcomponents-react/lib/Button';
Then, you can use the Button in your app:

```jsx
<Button onPress={() => alert('Hello World!')}>Hello world!</Button>
<Button onClick={() => alert('Hello World!')}>Hello world!</Button>
```
<Button onClick={() => alert('Hello World!')}>Hello World</Button>

Expand Down

0 comments on commit 5297e76

Please sign in to comment.