adding the logic to generate the image

This commit is contained in:
2026-03-14 02:50:54 -04:00
parent 6b651d3c4f
commit 21533ff4f5
14 changed files with 188 additions and 56 deletions

View File

@@ -0,0 +1,24 @@
import type { QRState, ImageSizes } from '@appTypes/';
export const initialState: QRState = {
text: 'https://www.bioxsystems.com/',
size: 600,
imageUrl: null,
loading: false,
error: null,
};
export const imageSizes: ImageSizes[] = [
{
value: 150,
text: 'Small — 150x150',
},
{
value: 300,
text: 'Medium — 300x300',
},
{
value: 600,
text: 'Large — 600x600',
},
];