ISSUE-003 - I'm struggling to get Babel Macros to work correctly in my project. So here I'm just manually writing the display names for my styled components.

This commit is contained in:
Kyle Geib committed 2021-12-21 14:38:07 -05:00
1 parent b9d73560a9
commit 7aff7a24c6
5 files changed
+7 -1

No files matched your search

@@ -16,3 +16,4 @@ export const MockupBlock = styled.div<MockupBlockProps>`
background-color: ${({ color }) => color};
padding: 0.3em;
`;
MockupBlock.displayName = "MockupBlock";
+1
View File
@@ -5,3 +5,4 @@ export const Nav = styled.nav`
padding-bottom: 1rem;
padding-left: 1rem;
`;
Nav.displayName = "Nav";
@@ -11,3 +11,4 @@ export const HeaderBar = styled.header`
font-family: ${p => p.theme.fonts.accent};
font-size: 0.8em;
`;
HeaderBar.displayName = "HeaderBar";