Admin Layout & Pages - app/(application)/admin/_layout.tsx - app/(application)/admin/user-access/index.tsx Admin Components - components/Drawer/NavbarMenu.tsx - components/_ShareComponent/Admin/BoxTitlePage.tsx - components/_ShareComponent/Admin/AdminBasicBox.tsx Admin Screens - screens/Admin/User-Access/ API – Admin User Access - service/api-admin/api-admin-user-access.ts Docs - docs/prompt-for-qwen-code.md ### No issue
21 lines
512 B
TypeScript
21 lines
512 B
TypeScript
import BaseBox from "@/components/Box/BaseBox";
|
|
import TextCustom from "@/components/Text/TextCustom";
|
|
import { AccentColor } from "@/constants/color-palet";
|
|
import { StyleProp, ViewStyle } from "react-native";
|
|
|
|
interface Props {
|
|
children: React.ReactNode;
|
|
onPress?: () => void;
|
|
style?: StyleProp<ViewStyle>;
|
|
}
|
|
|
|
export default function AdminBasicBox({ children, onPress, style }: Props) {
|
|
return (
|
|
<>
|
|
<BaseBox onPress={onPress} style={style}>
|
|
{children}
|
|
</BaseBox>
|
|
</>
|
|
);
|
|
}
|