modals
This commit is contained in:
@@ -1,14 +1,10 @@
|
||||
import { Motion } from "@legendapp/motion";
|
||||
import { Text, View } from "react-native";
|
||||
import * as Haptics from "expo-haptics";
|
||||
import { Text, View } from "react-native";
|
||||
|
||||
import { isDesktop, isMobile, isNative } from "../hooks/useLayoutType";
|
||||
import { Fonts, Palette } from "../styles";
|
||||
import Style, { gutters, mainBorderRadius } from "../styles/Style";
|
||||
import useLayoutType, {
|
||||
isDesktop,
|
||||
isMobile,
|
||||
isNative,
|
||||
} from "../hooks/useLayoutType";
|
||||
|
||||
export default ({
|
||||
type = "primary",
|
||||
@@ -130,8 +126,8 @@ export const BaseButton = ({
|
||||
backgroundColor: primaryTransparentColor,
|
||||
}
|
||||
: hasShadow
|
||||
? { ...Style.defaultShadows }
|
||||
: {}),
|
||||
? { ...Style.defaultShadows }
|
||||
: {}),
|
||||
...containerStyle,
|
||||
}}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user