From f8e35e674681ca8b5c9ad2c68dd442694f7cc58b Mon Sep 17 00:00:00 2001 From: Tilman Vatteroth Date: Wed, 8 Mar 2023 16:27:49 +0100 Subject: [PATCH] feat(frontend): add size property to wait spinner component Signed-off-by: Tilman Vatteroth --- .../src/components/common/wait-spinner/wait-spinner.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/common/wait-spinner/wait-spinner.tsx b/frontend/src/components/common/wait-spinner/wait-spinner.tsx index f16be4f87..fb99bc267 100644 --- a/frontend/src/components/common/wait-spinner/wait-spinner.tsx +++ b/frontend/src/components/common/wait-spinner/wait-spinner.tsx @@ -7,13 +7,17 @@ import { UiIcon } from '../icons/ui-icon' import React from 'react' import { ArrowRepeat as IconArrowRepeat } from 'react-bootstrap-icons' +export interface WaitSpinnerProps { + size?: string | number +} + /** * Renders a indefinitely spinning spinner. */ -export const WaitSpinner: React.FC = () => { +export const WaitSpinner: React.FC = ({ size }) => { return (
- +
) }