mirror of
https://github.com/selfxyz/self.git
synced 2026-01-13 16:47:57 -05:00
* Modernize qrcode build * chore(qrcode): add lint helpers * fix sdk qrcode * add new qrcode ci * fix formatting * qrcode fixes * fixes * fixes rd2 * enable corepack * enable corepack * build caching * update caching * cr feedback
23 lines
487 B
TypeScript
23 lines
487 B
TypeScript
const containerStyle: React.CSSProperties = {
|
|
display: 'flex',
|
|
flexDirection: 'column',
|
|
alignItems: 'center',
|
|
width: '100%',
|
|
};
|
|
|
|
const ledContainerStyle: React.CSSProperties = {
|
|
marginBottom: '4px',
|
|
};
|
|
|
|
const qrContainerStyle = (size: number): React.CSSProperties => ({
|
|
width: `${size}px`,
|
|
height: `${size}px`,
|
|
display: 'flex',
|
|
alignItems: 'center',
|
|
justifyContent: 'center',
|
|
});
|
|
|
|
export { containerStyle };
|
|
export { ledContainerStyle };
|
|
export { qrContainerStyle };
|