From 80c558fd562c2b05b8ad639fb853bb06f231035c Mon Sep 17 00:00:00 2001 From: afc163 Date: Sun, 24 Nov 2024 13:51:06 +0800 Subject: [PATCH] refactor: refactor bubble loading.tsx (#225) --- components/bubble/loading.tsx | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/components/bubble/loading.tsx b/components/bubble/loading.tsx index e4b92265..27d62f93 100644 --- a/components/bubble/loading.tsx +++ b/components/bubble/loading.tsx @@ -4,15 +4,12 @@ interface LoadingProps { prefixCls?: string; } -const Loading: React.FC> = (props) => { - const { prefixCls } = props; - return ( - - - - - - ); -}; +const Loading: React.FC> = ({ prefixCls }) => ( + + + + + +); export default Loading;