-
Notifications
You must be signed in to change notification settings - Fork 380
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(react-scheduler): highlight today DayScale cell #1653
feat(react-scheduler): highlight today DayScale cell #1653
Conversation
<span | ||
className={classNames({ | ||
[classes.dayOfMonth]: true, | ||
[classes.highlightCell]: today, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about a test for the highlightCell
class?
@@ -56,6 +56,7 @@ Field | Type | Description | |||
------|------|------------ | |||
startDate | Date | Specifies the cell start time. | |||
endDate | Date | Specifies the cell end time. | |||
today | boolean | Specifies the cell's date is today. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it necessary for WeekView?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the DayView.CellData
interface. The cellsData
function always returns this interface.
@@ -54,7 +54,7 @@ Field | Type | Description | |||
------|------|------------ | |||
startDate | Date | Specifies the cell start time. | |||
endDate | Date | Specifies the cell end time. | |||
|
|||
today | boolean | Specifies the cell's date is today. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The same about 'today' here.
No description provided.