Skip to content

Commit 45bf4f1

Browse files
author
Tautvilas Mecinskas
committed
add seelctedColor prop to basic marking
1 parent 0427548 commit 45bf4f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/src/screens/calendars.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export default class CalendarsScreen extends Component {
2222
onDayPress={this.onDayPress}
2323
style={styles.calendar}
2424
hideExtraDays
25-
markedDates={{[this.state.selected]: {selected: true, disableTouchEvent: true}}}
25+
markedDates={{[this.state.selected]: {selected: true, disableTouchEvent: true, selectedColor: 'orange'}}}
2626
/>
2727
<Text style={styles.text}>Calendar with marked dates and hidden arrows</Text>
2828
<Calendar

0 commit comments

Comments
 (0)