Files
test/src/components/BroadcastGraphics/Common/Spacer.styled.ts
T
Kyle Geib 3b165c42e9 ISSUE-068 - Now Styled-Components can self-label.
Updated babel-plugin-styled-components to a new version that works.
Added extra option to macros settings to not bother showing the file names.
2022-03-14 12:02:12 -05:00

11 lines
241 B
TypeScript

import styled from "styled-components/macro";
type SpacerProps = {
width?: string,
height?: string;
};
export const Spacer = styled.div<SpacerProps>`
width: ${({ width = "0" }) => width};
height: ${({ height = "0" }) => height};
`;