Commit 40c1c13 1 parent b6b6d62 commit 40c1c13 Copy full SHA for 40c1c13
File tree 3 files changed +4
-5
lines changed
src/internal/components/QrCode
3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 1
1
import { QRCodeSVG , type QRCodeSVGProps } from './QrCodeSvg' ;
2
2
import {
3
3
QR_CODE_SIZE ,
4
- QR_LOGO_SIZE ,
5
- QR_LOGO_RADIUS ,
6
4
QR_LOGO_BACKGROUND_COLOR ,
5
+ QR_LOGO_RADIUS ,
6
+ QR_LOGO_SIZE ,
7
7
} from './gradientConstants' ;
8
8
9
9
export function QRCodeComponent ( {
Original file line number Diff line number Diff line change 1
1
import { useMemo } from 'react' ;
2
+ import { useOnchainKit } from '../../../useOnchainKit' ;
2
3
import {
3
4
GRADIENT_END_COORDINATES ,
4
5
GRADIENT_START_COORDINATES ,
@@ -7,12 +8,10 @@ import {
7
8
ockThemeToRadiamGradientColorMap ,
8
9
presetGradients ,
9
10
} from './gradientConstants' ;
10
-
11
11
import { useCorners } from './useCorners' ;
12
12
import { useDotsPath } from './useDotsPath' ;
13
13
import { useLogo } from './useLogo' ;
14
14
import { useMatrix } from './useMatrix' ;
15
- import { useOnchainKit } from '../../../useOnchainKit' ;
16
15
17
16
function coordinateAsPercentage ( coordinate : number ) {
18
17
return `${ coordinate * 100 } %` ;
Original file line number Diff line number Diff line change 1
1
import React , { useMemo } from 'react' ;
2
- import { cbwSvg } from '../../svg/cbwSvg' ;
3
2
import ReactDOMServer from 'react-dom/server' ;
3
+ import { cbwSvg } from '../../svg/cbwSvg' ;
4
4
5
5
type RenderLogoProps = {
6
6
size : number ;
You can’t perform that action at this time.
0 commit comments