chore: fix url api
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
import React, { useMemo } from "react";
|
import React, { useMemo } from "react";
|
||||||
import { View, StyleSheet, type ViewStyle } from "react-native";
|
import { View, StyleSheet, type ViewStyle, type StyleProp } from "react-native";
|
||||||
import { spacing, borderRadius, shadows } from "../../theme";
|
import { spacing, borderRadius, shadows } from "../../theme";
|
||||||
import { useTheme } from "../../context/ThemeContext";
|
import { useTheme } from "../../context/ThemeContext";
|
||||||
|
|
||||||
interface CardProps {
|
interface CardProps {
|
||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
style?: ViewStyle;
|
style?: StyleProp<ViewStyle>;
|
||||||
}
|
}
|
||||||
|
|
||||||
export default function Card({ children, style }: CardProps) {
|
export default function Card({ children, style }: CardProps) {
|
||||||
|
|||||||
Reference in New Issue
Block a user