Skip to content

Commit fb5ef83

Browse files
yosmanygaTrancever
authored andcommitted
fix: fix snackbar example (#1338)
1 parent 818f73c commit fb5ef83

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/Snackbar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ const DURATION_LONG = 10000;
6666
* ## Usage
6767
* ```js
6868
* import * as React from 'react';
69-
* import { StyleSheet } from 'react-native';
70-
* import { Snackbar } from 'react-native-paper';
69+
* import { View, StyleSheet } from 'react-native';
70+
* import { Button, Snackbar } from 'react-native-paper';
7171
*
7272
* export default class MyComponent extends React.Component {
7373
* state = {

0 commit comments

Comments
 (0)