Skip to content

Commit

Permalink
add gif for readme
Browse files Browse the repository at this point in the history
  • Loading branch information
hoangnm committed Dec 26, 2017
1 parent 212fdf1 commit 073f944
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# react-native-week-view
# react-native-week-view

![weekView](images/gif.gif)
8 changes: 4 additions & 4 deletions example/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,21 @@ export default class App extends Component<{}> {
const events = [
{
id: 1,
description: 'Truck 1',
description: 'Event 1',
startDate: this.generateDates(0),
endDate: this.generateDates(2),
color: 'blue',
},
{
id: 2,
description: 'Truck 2',
description: 'Event 2',
startDate: this.generateDates(1),
endDate: this.generateDates(4),
color: 'red',
},
{
id: 3,
description: 'Truck 3',
description: 'Event 3',
startDate: this.generateDates(-5),
endDate: this.generateDates(-3),
color: 'green',
Expand All @@ -51,7 +51,7 @@ export default class App extends Component<{}> {
<View style={styles.container}>
<WeekView
events={events}
numberOfDays={3}
numberOfDays={7}
onEventPress={() => Alert.alert('select')}
headerStyle={styles.headerStyle}
/>
Expand Down
Binary file added images/gif.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 073f944

Please sign in to comment.