Переглянути джерело

Merge branch 'release/1.0.0-pre-alpha.61'

lfabl 1 місяць тому
батько
коміт
25eba10cc8

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
     "name": "ncore-ui-kit",
-    "version": "1.0.0-pre-alpha.60",
+    "version": "1.0.0-pre-alpha.61",
     "description": "NİBGAT® | NCore - UI Kit for React-Native Mobile Apps.",
     "main": "./lib/module/index.js",
     "types": "./lib/typescript/src/index.d.ts",

+ 3 - 3
src/components/button/index.tsx

@@ -149,9 +149,9 @@ const Button: FC<IButtonProps> = ({
 
             return <Loading
                 {...iconProps}
-                style={[
-                    loadingDynamicStyle
-                ]}
+                style={{
+                    ...loadingDynamicStyle
+                }}
             />;
         }
 

+ 3 - 3
src/components/checkBox/index.tsx

@@ -184,9 +184,9 @@ const CheckBox: FC<ICheckBoxProps> = ({
     const renderCheckIndicator = () => {
         if (isLoading) {
             return <Loading
-                style={[
-                    loadingDynamicStyle
-                ]}
+                style={{
+                    ...loadingDynamicStyle
+                }}
             />;
         }
 

+ 3 - 3
src/components/highlightButton/index.tsx

@@ -125,9 +125,9 @@ const HighlightButton: FC<IHighlightButtonProps> = ({
 
             return <Loading
                 {...iconProps}
-                style={[
-                    loadingDynamicStyle
-                ]}
+                style={{
+                    ...loadingDynamicStyle
+                }}
             />;
         }
 

+ 3 - 3
src/components/notificationIndicator/index.tsx

@@ -128,9 +128,9 @@ const NotificationIndicator: FC<INotificationIndicatorProps> = ({
 
         if (isLoading) {
             return <Loading
-                style={[
-                    loadingDynamicStyle
-                ]}
+                style={{
+                    ...loadingDynamicStyle
+                }}
             />;
         }
 

+ 3 - 3
src/components/radioButton/index.tsx

@@ -179,9 +179,9 @@ const RadioButton: FC<IRadioButtonProps> = ({
     const renderIndicatorContainer = () => {
         if (isLoading) {
             return <Loading
-                style={[
-                    loadingDynamicStyle
-                ]}
+                style={{
+                    ...loadingDynamicStyle
+                }}
             />;
         }
 

+ 3 - 3
src/components/switch/index.tsx

@@ -194,9 +194,9 @@ const Switch: FC<ISwitchProps> = ({
     const renderIndicatorContainer = () => {
         if (isLoading) {
             return <Loading
-                style={[
-                    loadingDynamicStyle
-                ]}
+                style={{
+                    ...loadingDynamicStyle
+                }}
             />;
         }