project setup
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
import { View } from "react-native";
|
||||
|
||||
import { Button } from "@/components/ui/Button";
|
||||
|
||||
interface AdminControlsProps {
|
||||
onAddAdmin: () => void;
|
||||
}
|
||||
|
||||
export const AdminControls = ({
|
||||
onAddAdmin,
|
||||
}: AdminControlsProps) => {
|
||||
return (
|
||||
<View className="flex-row">
|
||||
<Button
|
||||
onPress={onAddAdmin}
|
||||
icon="account-plus-outline"
|
||||
buttonColor="#6750a4"
|
||||
buttonTextColor="white"
|
||||
disabled={false}
|
||||
>
|
||||
Add Admin
|
||||
</Button>
|
||||
</View>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user