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.
This commit is contained in:
1 parent
9ccaa5b3d6
commit
3b165c42e9
38 files changed
+66
-133
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import styled from "styled-components";
|
||||
import styled from "styled-components/macro";
|
||||
|
||||
type SpacerProps = {
|
||||
width?: string,
|
||||
@@ -8,4 +8,3 @@ export const Spacer = styled.div<SpacerProps>`
|
||||
width: ${({ width = "0" }) => width};
|
||||
height: ${({ height = "0" }) => height};
|
||||
`;
|
||||
Spacer.displayName = "Spacer";
|
||||
Reference in new issue
Block a user