Skip to content

Commit c4ccc85

Browse files
hanfordosdnk
authored andcommitted
docs: rename renderInner from README (#112)
1 parent 78508cc commit c4ccc85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ If you don't use Expo, install and link [react-native-gesture-handler](https://k
3333
import BottomSheet from 'reanimated-bottom-sheet'
3434

3535
class Example extends React.Component {
36-
renderInner = () => (
36+
renderContent = () => (
3737
/* render */
3838
)
3939

@@ -46,7 +46,7 @@ class Example extends React.Component {
4646
<View style={styles.container}>
4747
<BottomSheet
4848
snapPoints = {[450, 300, 0]}
49-
renderContent = {this.renderInner}
49+
renderContent = {this.renderContent}
5050
renderHeader = {this.renderHeader}
5151
/>
5252
</View>)

0 commit comments

Comments
 (0)