@wavv/ui 1.6.2 → 1.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6,6 +6,10 @@ type SpinnerProps = {
|
|
|
6
6
|
size?: Sizes;
|
|
7
7
|
/** The color of the loading icon */
|
|
8
8
|
color?: string;
|
|
9
|
+
/** Center positions the Spinner absolutely */
|
|
10
|
+
center?: boolean;
|
|
11
|
+
/** If center positioned, adds a background overlay behind the spinner */
|
|
12
|
+
background?: string | boolean;
|
|
9
13
|
} & Margin & Position;
|
|
10
|
-
declare const Spinner: ({ size, color, margin, marginTop, marginBottom, marginRight, marginLeft, position, top, bottom, right, left, ...props }: SpinnerProps) => JSX.Element;
|
|
14
|
+
declare const Spinner: ({ size, color, center, background, margin, marginTop, marginBottom, marginRight, marginLeft, position, top, bottom, right, left, ...props }: SpinnerProps) => JSX.Element;
|
|
11
15
|
export default Spinner;
|