mirror of
https://github.com/samuelthomas2774/nxapi.git
synced 2026-10-24 18:45:55 -05:00
Fix type errors
This commit is contained in:
@@ -56,6 +56,7 @@ function ButtonMac(props: {
|
||||
|
||||
const styles_mac = StyleSheet.create({
|
||||
button: {
|
||||
// @ts-expect-error react-native-web
|
||||
cursor: 'default',
|
||||
lineHeight: 19,
|
||||
borderRadius: 3,
|
||||
@@ -63,6 +64,7 @@ const styles_mac = StyleSheet.create({
|
||||
},
|
||||
buttonLight: {
|
||||
backgroundColor: '#ffffff',
|
||||
// @ts-expect-error react-native-web
|
||||
boxShadow: '#0000008a 0px 0px 1px',
|
||||
},
|
||||
|
||||
@@ -76,10 +78,12 @@ const styles_mac = StyleSheet.create({
|
||||
},
|
||||
innerActive: {
|
||||
backgroundColor: 'transparent',
|
||||
// @ts-expect-error react-native-web
|
||||
backgroundImage: 'linear-gradient(0deg, #00000050, #00000040)',
|
||||
},
|
||||
innerPressed: {
|
||||
backgroundColor: 'transparent',
|
||||
// @ts-expect-error react-native-web
|
||||
backgroundImage: 'linear-gradient(0deg, #00000040, #00000020)',
|
||||
},
|
||||
|
||||
|
||||
@@ -27,7 +27,6 @@ export default function FriendCode(props: {
|
||||
|
||||
const styles = StyleSheet.create({
|
||||
friendCodeValue: {
|
||||
// @ts-expect-error
|
||||
userSelect: 'all',
|
||||
},
|
||||
});
|
||||
|
||||
@@ -34,6 +34,7 @@ export function NintendoSwitchUsers(props: {
|
||||
const styles = StyleSheet.create({
|
||||
userImage: {
|
||||
borderRadius: 8,
|
||||
verticalAlign: -3,
|
||||
// @ts-expect-error react-native-web
|
||||
verticalAlign: -3 as 'auto',
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user