import{a as d}from"./chunk-MQRGK4IV.mjs";import{BottomDrawer as b}from"@baseapp-frontend/design-system/components/native/drawers";import{CameraOutlinedIcon as g,FlowerIcon as v,TrashIcon as f}from"@baseapp-frontend/design-system/components/native/icons";import{Text as h}from"@baseapp-frontend/design-system/components/native/typographies";import{View as i}from"@baseapp-frontend/design-system/components/native/views";import{useTheme as I}from"@baseapp-frontend/design-system/providers/native";import{Pressable as n}from"react-native";import{jsxs as e,jsx as o}from"react/jsx-runtime";var P=function(r){var s=r.bottomDrawerRef,c=r.handleSheetChanges,m=r.type,l=m===void 0?"image":m,y=r.handleViewPhotoLibrary,p=r.handleTakePhoto,w=r.handleRemoveImage,a=I(),t=d(a);return e(b,{bottomDrawerRef:s,handleSheetChanges:c,children:[e(i,{style:t.modalContent,children:[o(i,{style:t.modalItem,children:e(h,{variant:"body2",color:"low",children:["Upload a new ",l]})}),e(n,{onPress:y,style:t.modalItem,children:[o(v,{width:20,height:20,color:a.colors.object.high}),o(h,{variant:"body2",color:"high",children:"View photo library"})]}),e(n,{onPress:p,style:t.modalItem,children:[o(g,{width:20,height:20,color:a.colors.object.high}),o(h,{variant:"body2",color:"high",children:"Take a photo"})]})]}),o(i,{style:[t.modalContent,{borderBottomWidth:0}],children:e(n,{onPress:function(){return w(l)},style:t.modalItem,children:[o(f,{width:20,height:20,color:a.colors.error.main}),e(h,{variant:"body2",style:{color:a.colors.error.main},children:["Remove ",l]})]})})]})},k=P;export{k as a};
//# sourceMappingURL=chunk-AQEZXLRA.mjs.map