@smartface/builder
Advanced tools
Comparing version
@@ -17,3 +17,3 @@ //------------------------------------------------------------------------------ | ||
themeClassList: string[], | ||
userClassList: string[] | undefined, | ||
userClassList: string[] | undefined = [], | ||
propStyle?: | ||
@@ -28,3 +28,3 @@ | StyleProp<ViewStyle> | ||
// Add if user assigned any class from theme | ||
if (Array.isArray(userClassList)) { | ||
if (userClassList && userClassList.length) { | ||
_classList = _classList.concat(userClassList); | ||
@@ -51,3 +51,3 @@ } | ||
const useStyleWithSafeAreaPadding = (style?: StyleProp<ViewStyle>): StyleProp<ViewStyle> => { | ||
const useStyleWithSafeAreaPadding = (style?: ViewStyle): StyleProp<ViewStyle> => { | ||
const insets = useSafeAreaInsets(); | ||
@@ -54,0 +54,0 @@ const headerHeight = useHeaderHeight(); |
{ | ||
"name": "@smartface/builder", | ||
"version": "1.0.0-beta.34", | ||
"version": "1.0.0-beta.36", | ||
"description": "Smartface Builder", | ||
@@ -43,3 +43,3 @@ "bin": { | ||
}, | ||
"gitHead": "aaa10faf0ad55e30bf2768db8f2ab0e37c2e8228" | ||
"gitHead": "abc8ee02cddbf8a7f9fec737b76fda90c57b0e2c" | ||
} |
256220
0