From 015c3a7bfbc89eda31455537672f3f688a720422 Mon Sep 17 00:00:00 2001 From: Snowball_233 Date: Wed, 9 Oct 2024 00:24:45 +0800 Subject: [PATCH] chore: add typing --- packages/components/center/src/center.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/components/center/src/center.tsx b/packages/components/center/src/center.tsx index 238a412..474c8d4 100644 --- a/packages/components/center/src/center.tsx +++ b/packages/components/center/src/center.tsx @@ -1,7 +1,7 @@ import React from 'react'; import classes from './center.module.scss'; -export const Center = (props: CenterProps) => { +export const Center: React.FC = (props: CenterProps) => { const { children, inline } = props; return (