feat: calendar components 3rd attempt at merging (#60)

This commit is contained in:
doprz
2024-03-06 10:24:27 -06:00
parent 4455b10cc7
commit 4faca8c43b
6 changed files with 21105 additions and 46 deletions

View File

@@ -1,4 +1,4 @@
.calendar-cell {
.calendarCell {
display: flex;
width: 165px;
height: 52.231px;
@@ -8,13 +8,12 @@
justify-content: center;
align-items: flex-start;
position: relative;
}
.hour-line {
}
.hourLine {
position: absolute;
left: 0;
right: 0;
top: 50%;
border-top: 1px solid black; /* Adjust line styles as needed */
}
}

View File

@@ -1,12 +1,16 @@
import React from 'react';
import styles from './CalendarGridCell.module.scss';
const CalendarCell: React.FC = () => {
return (
<div className={styles['calendar-cell']}>
<div className={styles['hour-line']}></div>
</div>
);
/**
* Component representing each 1 hour time block of a calendar
* @param props
*/
const CalendarCell: React.FC = props => {
return (
<div className={styles.calendarCell}>
<div className={styles.hourLine}></div>
</div>
);
};
export default CalendarCell;