Skip to content

Commit

Permalink
feat: add weekend days theme styles
Browse files Browse the repository at this point in the history
  • Loading branch information
maggialejandro committed Aug 29, 2022
1 parent 44a4393 commit 83ab02d
Show file tree
Hide file tree
Showing 6 changed files with 478 additions and 0 deletions.
4 changes: 4 additions & 0 deletions example/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const THEME: ThemeType = {
startDateContainerStyle: {},
endDateContainerStyle: {},
dayContainerStyle: {
marginVertical: 0,
backgroundColor: 'transparent',
},
dayContentStyle: {
Expand All @@ -37,6 +38,9 @@ const THEME: ThemeType = {
},
dayOutOfRangeContainerStyle: {},
dayOutOfRangeTextStyle: {},
weekendContainerStyle: {
backgroundColor: 'rgb(249,250,252)',
},
todayContainerStyle: {},
todayTextStyle: {
color: BLUE,
Expand Down
1 change: 1 addition & 0 deletions src/__tests__/Day.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const defaultDay = {
isStartDate: false,
isEndDate: false,
isVisible: true,
isWeekend: false,
isOutOfRange: false,
isHidden: false,
};
Expand Down
Loading

0 comments on commit 83ab02d

Please sign in to comment.