init with react+axum+spacetimedb
Some checks failed
CI / verify (push) Has been cancelled

This commit is contained in:
2026-04-26 18:06:23 +08:00
commit cbc27bad4a
20199 changed files with 883714 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
import React from 'react';
interface PixelIconProps {
src: string;
alt?: string;
className?: string;
style?: React.CSSProperties;
}
export function PixelIcon({ src, alt = '', className = '', style }: PixelIconProps) {
return (
<img
src={src}
alt={alt}
draggable={false}
className={`shrink-0 object-contain ${className}`.trim()}
style={{ imageRendering: 'pixelated', ...style }}
/>
);
}