From 9f206331bcb0c3b8a8568ccec4c10f9c6a1ec013 Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com> Date: Tue, 7 Nov 2023 18:35:05 +0530 Subject: [PATCH] style: spinner component improvement (#2708) --- 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 b96188030..e7e952295 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 +}) => (