// React import import { useState } from "react"; // CSS import import '../css/UserCheckin.css'; /** * Componenet for checkins. Has a toggle to show more info. * @param {Object} props The props of the component. * @returns {import('react').HtmlHTMLAttributes} A list element holding a checkin's info. */ function Hub(props) { // State - toggled return (
  • console.log(props.id)}>{props.name} {props.value.toFixed(3)}
  • ); } export default Hub;