upd: redesign aplikasi
Deskripsi: - update home, profile dll - blm selesai NO Issues
This commit is contained in:
16
components/wrapTab.tsx
Normal file
16
components/wrapTab.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
import Styles from "@/constants/Styles";
|
||||
import { useTheme } from "@/providers/ThemeProvider";
|
||||
import { View } from "react-native";
|
||||
|
||||
type Props = {
|
||||
children: React.ReactNode
|
||||
}
|
||||
|
||||
export default function WrapTab({ children }: Props) {
|
||||
const { colors } = useTheme()
|
||||
return (
|
||||
<View style={[Styles.wrapBtnTab, { backgroundColor: colors.card, borderColor: colors.icon + '20' }]}>
|
||||
{children}
|
||||
</View>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user