Skip to content

Commit c14cd2b

Browse files
committed
Adding demo for custom start value
1 parent c6067a3 commit c14cd2b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

demo/src/SwipeRatingScreen.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ class SwipeRatingScreen extends Component {
2323
</View>
2424
<ScrollView style={styles.flex} contentContainerStyle={styles.center}>
2525
<Card title="DEFAULT" containerStyle={styles.card}>
26-
<Rating showRating={false} fractions={false} />
26+
<Rating showRating={false} fractions={false}/>
2727
</Card>
28-
<Card title="WITH RATING" containerStyle={styles.card}>
29-
<Rating showRating={true} fractions={false} />
28+
<Card title="WITH RATING(custom start value)" containerStyle={styles.card}>
29+
<Rating showRating={true} fractions={false} startingValue={ 4 }/>
3030
</Card>
3131
<Card title="WITH FRACTIONS" containerStyle={styles.card}>
3232
<Rating

0 commit comments

Comments
 (0)