// styling import styled from 'styled-components/macro'; // components import Spring from '@components/Spring'; import ClubInfo from '@components/ClubInfo'; import Score from '@ui/Score'; import MatchTrack from '@ui/MatchTrack'; import MatchEventText from '@ui/MatchEventText'; import MatchProgress from '@ui/MatchProgress'; // hooks import useMeasure from 'react-use-measure'; const Header = styled.div` .main { display: none; // tablet portrait @media screen and (min-width: 768px) { display: flex; } } `; const MatchEventsLarge = () => { const [ref, {width}] = useMeasure(); const events = [ {type: 'goal', minute: 6, count: 1}, {type: 'goal', minute: 20, count: 1}, {type: 'substitution', minute: 30, count: 2}, {type: 'goal', minute: 47, count: 1}, {type: 'goal', minute: 60, count: 1}, {type: 'substitution', minute: 70, count: 2}, ] return (
) } export default MatchEventsLarge