From 3371f269a4df963c42760c9be98a108ede8ea1bb Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia Date: Tue, 7 Nov 2023 18:21:16 +0530 Subject: [PATCH] style: spinner component improvement --- packages/ui/src/spinners/circular-spinner.tsx | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/packages/ui/src/spinners/circular-spinner.tsx b/packages/ui/src/spinners/circular-spinner.tsx index b961880305b..e7e952295a3 100644 --- a/packages/ui/src/spinners/circular-spinner.tsx +++ b/packages/ui/src/spinners/circular-spinner.tsx @@ -1,10 +1,23 @@ import * as React from "react"; -export const Spinner: React.FC = () => ( +export interface ISpinner extends React.SVGAttributes { + height?: string; + width?: string; + className?: string | undefined; +} + +export const Spinner: React.FC = ({ + height = "32px", + width = "32px", + className = "", + ...rest +}) => (