Timing Board is the combination of all elements on the left side of the screen, including the Status Indicator component (not written yet) that is visible whenever there are cars on track.
12 lines
266 B
TypeScript
12 lines
266 B
TypeScript
import styled from "styled-components";
|
|
|
|
type SpacerProps = {
|
|
width?: string,
|
|
height?: string;
|
|
};
|
|
export const Spacer = styled.div<SpacerProps>`
|
|
width: ${({ width = "0" }) => width};
|
|
height: ${({ height = "0" }) => height};
|
|
`;
|
|
Spacer.displayName = "Spacer";
|