refactor: remove component subfolders (#184)

(and unused components)
This commit is contained in:
Razboy20
2024-03-21 13:47:59 -05:00
committed by GitHub
parent efed1c0edb
commit e080e93faa
56 changed files with 70 additions and 275 deletions

View File

@@ -0,0 +1,26 @@
import React from 'react';
interface Props {
row: number;
col: number;
}
/**
* Component representing each 1 hour time block of a calendar
* @param props
*/
function CalendarCell(props: Props): JSX.Element {
return (
<div
className='h-full w-full flex items-center border-b border-r border-gray-300'
style={{
gridColumn: props.col + 3,
gridRow: `${2 * props.row + 2} / ${2 * props.row + 4}`,
}}
>
<div className='h-0 w-full border-t border-gray-300/25' />
</div>
);
}
export default CalendarCell;