Skip to content

Commit

Permalink
Fix: add highlightDateContainerStyle to CalendarDay propTypes.
Browse files Browse the repository at this point in the history
Update TS definitions.
  • Loading branch information
peacechen committed Jan 29, 2021
1 parent 49ecc6f commit df3467d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ interface IDayComponentProps {
dayContainerStyle?: StyleProp<ViewStyle>;
weekendDateNameStyle?: TextStyle;
weekendDateNumberStyle?: TextStyle;
highlightDateContainerStyle?: StyleProp<ViewStyle>;
highlightDateNameStyle?: TextStyle;
highlightDateNumberStyle?: TextStyle;
disabledDateNameStyle?: TextStyle;
Expand Down Expand Up @@ -125,6 +126,7 @@ interface CalendarStripProps {
dateNumberStyle?: StyleProp<TextStyle>;
weekendDateNameStyle?: StyleProp<TextStyle>;
weekendDateNumberStyle?: StyleProp<TextStyle>;
highlightDateContainerStyle?: StyleProp<ViewStyle>;
highlightDateNameStyle?: StyleProp<TextStyle>;
highlightDateNumberStyle?: StyleProp<TextStyle>;
disabledDateNameStyle?: StyleProp<TextStyle>;
Expand Down
1 change: 1 addition & 0 deletions src/CalendarDay.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ class CalendarDay extends Component {
dayContainerStyle: PropTypes.any,
weekendDateNameStyle: PropTypes.any,
weekendDateNumberStyle: PropTypes.any,
highlightDateContainerStyle: PropTypes.any,
highlightDateNameStyle: PropTypes.any,
highlightDateNumberStyle: PropTypes.any,
disabledDateNameStyle: PropTypes.any,
Expand Down

0 comments on commit df3467d

Please sign in to comment.