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, { css } from "styled-components";
|
||||
import styled, { css } from "styled-components/macro";
|
||||
|
||||
type VideoFeedFrameProps = {
|
||||
centered?: boolean,
|
||||
@@ -19,14 +19,12 @@ export const VideoFeedFrame = styled.div<VideoFeedFrameProps>`
|
||||
}
|
||||
`}
|
||||
`;
|
||||
VideoFeedFrame.displayName = "VideoFeedFrame";
|
||||
|
||||
export const BackgroundImage = styled.img`
|
||||
height: 100%;
|
||||
max-width: 100%;
|
||||
object-fit: contain;
|
||||
`;
|
||||
BackgroundImage.displayName = "BackgroundImage";
|
||||
|
||||
type BackgroundImageDivProps = {
|
||||
src: string,
|
||||
@@ -39,4 +37,3 @@ export const BackgroundImageDiv = styled.div<BackgroundImageDivProps>`
|
||||
background-repeat: no-repeat;
|
||||
background-position: 0% 50%;
|
||||
`;
|
||||
BackgroundImageDiv.displayName = "BackgroundImageDiv";
|
||||
Reference in new issue
Block a user