Skip to content
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

Arendedwinter patch 2 #57

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Arendedwinter
Copy link

@Arendedwinter Arendedwinter commented Sep 3, 2024

Update to the CalendarHeatmap.js to add Day numubers to the squares. New prop introduced usage as below;

dayNumberStyle={{
    fontSize: "8", // Customize font size
    color: "#333",  // Customize text color
}}

In addition to the above, another prop was added to control when the day numbers would be shown. If true, they will only show when there is a date in the value array.

showDayNumbersForEntriesOnly={true} // Set to true to only show day numbers where there is an entry

Update to the CalendarHeatmap.js to add Day numubers to the squares.   New prop introduced usage as below;

          dayNumberStyle={{
            fontSize: "8", // Customize font size
            color: "#333",  // Customize text color
          }}
Update to the CalendarHeatmap.js to add Day numubers to the squares.   New prop introduced usage as below;

dayNumberStyle={{
    fontSize: "8", // Customize font size
    color: "#333",  // Customize text color
}}
		  
In addition to the above, another prop was added to control when the day numbers would be shown.  If true, they will only show when there is a date in the value array.
  
showDayNumbersForEntriesOnly={true} // Set to true to only show day numbers where there is an entry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant