From ec61c5bb9fa195aa233216261502a464a3ba830a Mon Sep 17 00:00:00 2001 From: Ivan Li Date: Sun, 10 Sep 2023 11:58:12 +0000 Subject: [PATCH] =?UTF-8?q?build(ci):=20=E4=BF=AE=E5=A4=8D=E6=9E=84?= =?UTF-8?q?=E5=BB=BA=E9=97=AE=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/Image.tsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/components/Image.tsx b/components/Image.tsx index 7ac5569..12f8dc0 100644 --- a/components/Image.tsx +++ b/components/Image.tsx @@ -1,5 +1,8 @@ -import { Attributes } from 'react'; - -const Image = ({ ...rest }: Attributes) => ; +const Image = ({ + ...rest +}: React.DetailedHTMLProps< + React.ImgHTMLAttributes, + HTMLImageElement +>) => ; export default Image;