Skip to content

Commit

Permalink
fix(android): module fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
oguzhnatly committed Apr 23, 2022
1 parent a1f73aa commit c62f680
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/QRCode.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import Svg, {
import PropTypes from "prop-types";
import { drawPiece } from "./styles";
import { generateQRCode } from "./QRCodeGenerator.js";
import styled from "styled-components";
import styled from "../../styled-components";

//-----------------------------Component---------------------------------
export default class QRCode extends PureComponent {
Expand Down Expand Up @@ -483,7 +483,7 @@ class Eyes extends React.Component {
}
}

const EyeShape = styled.view`
const EyeShape = styled.View`
height: ${(props) => props.size}px;
width: ${(props) => props.size}px;
background-color: ${(props) =>
Expand All @@ -510,13 +510,13 @@ const EyeShape = styled.view`
}}px;
`;

const Container = styled.view`
const Container = styled.View`
position: absolute;
height: ${(props) => props.size}px;
width: ${(props) => props.size}px;
`;

const QRView = styled.view`
const QRView = styled.View`
position: relative;
height: ${(props) => props.size}px;
width: ${(props) => props.size}px;
Expand Down

0 comments on commit c62f680

Please sign in to comment.