feat:提交实验室环境配置
This commit is contained in:
1 parent
6367014e1f
commit
cdbe3bb51e
30 files changed
+454
-373
No files matched your search
@@ -3,6 +3,7 @@ import { clsx } from "clsx";
|
||||
|
||||
interface ImageProps {
|
||||
src: string;
|
||||
children?: React.ReactNode;
|
||||
alt?: string;
|
||||
className?: string;
|
||||
width?: number | string;
|
||||
@@ -23,6 +24,7 @@ interface ImageProps {
|
||||
|
||||
export default function Image({
|
||||
src,
|
||||
children,
|
||||
alt,
|
||||
className,
|
||||
width,
|
||||
@@ -171,6 +173,7 @@ export default function Image({
|
||||
isLoaded ? "opacity-100" : "opacity-0"
|
||||
)}
|
||||
/>
|
||||
{children}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user