Skip to content
Snippets Groups Projects
Select Git revision
  • 56e46ac1c16ad46fd3d49b87e56b2e71aca33d1c
  • master default
2 results

alloc.h

Blame
  • Forked from HyukSang Kwon / 1801_OS_assignment4
    Source project has a limited visibility.
    TableCell.jsx 469 B
    import { useEffect } from "react";
    
    export default function TableCell({k, cn, newDate, hds, hdw, hde, i, value}){
        // useEffect(() => { console.log(k)}, []);
        return(
            <td className={cn}
            key={k}
            id={k} 
            draggable
            onDragStart={()=>hds(newDate, i, k)}
            onDragEnter={()=>hdw(newDate, i, k)}
            onDragEnd={()=>hde(newDate, i)}
            onClick={()=>console.log(newDate.getMonth() + 1)}>
            {value} </td>
        );
    }