mirror of
https://github.com/selfxyz/self.git
synced 2026-04-05 03:00:53 -04:00
21 lines
465 B
TypeScript
21 lines
465 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, ledContainerStyle, qrContainerStyle };
|