mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-11 05:54:15 +01:00
17 lines
421 B
TypeScript
17 lines
421 B
TypeScript
|
import React from 'react';
|
||
|
import { Machine } from '../../models/machine';
|
||
|
|
||
|
interface MachineCardProps {
|
||
|
machine: Machine
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* This component is a box showing the picture of the given machine and two buttons: one to start the reservation process
|
||
|
* and another to redirect the user to the machine description page.
|
||
|
*/
|
||
|
const MachineCard: React.FC<MachineCardProps> = ({ machine }) => {
|
||
|
return (
|
||
|
<div/>
|
||
|
)
|
||
|
}
|