23 lines
422 B
TypeScript
23 lines
422 B
TypeScript
import { useState } from 'react';
|
|
import { Activite, Ligne } from '../../classes';
|
|
import '../style/objectList.css';
|
|
|
|
type Props = {
|
|
ligne: Ligne
|
|
}
|
|
|
|
function ObjectLigne({ligne}: Props) {
|
|
const [open, setOpen] = useState<boolean>(false);
|
|
|
|
function handleOpen(): void {
|
|
setOpen(!open);
|
|
}
|
|
|
|
return (
|
|
<div>
|
|
{/* TODO */}
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default ObjectLigne |