{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\AbdullahBozdag\\\\Documents\\\\_apo_bozdag\\\\no303\\\\no303-cafemenu-frontend\\\\src\\\\components\\\\MenuButton\\\\MenuButton.js\";\nimport React from \"react\";\nimport TouchableHighlight from \"react-native-web/dist/exports/TouchableHighlight\";\nimport Image from \"react-native-web/dist/exports/Image\";\nimport Text from \"react-native-web/dist/exports/Text\";\nimport View from \"react-native-web/dist/exports/View\";\nimport PropTypes from \"prop-types\";\nimport styles from \"./styles\";\nexport default function MenuButton(props) {\n  var title = props.title,\n      onPress = props.onPress,\n      source = props.source;\n  return React.createElement(TouchableHighlight, {\n    onPress: onPress,\n    style: styles.btnClickContain,\n    underlayColor: \"rgba(128, 128, 128, 0.1)\",\n    __self: this,\n    __source: {\n      fileName: _jsxFileName,\n      lineNumber: 10,\n      columnNumber: 5\n    }\n  }, React.createElement(View, {\n    style: styles.btnContainer,\n    __self: this,\n    __source: {\n      fileName: _jsxFileName,\n      lineNumber: 11,\n      columnNumber: 7\n    }\n  }, React.createElement(Image, {\n    source: source,\n    style: styles.btnIcon,\n    __self: this,\n    __source: {\n      fileName: _jsxFileName,\n      lineNumber: 12,\n      columnNumber: 9\n    }\n  }), React.createElement(Text, {\n    style: styles.btnText,\n    __self: this,\n    __source: {\n      fileName: _jsxFileName,\n      lineNumber: 13,\n      columnNumber: 9\n    }\n  }, title)));\n}\nMenuButton.propTypes = {\n  onPress: PropTypes.func,\n  source: PropTypes.number,\n  title: PropTypes.any\n};","map":{"version":3,"sources":["C:/Users/AbdullahBozdag/Documents/_apo_bozdag/no303/no303-cafemenu-frontend/src/components/MenuButton/MenuButton.js"],"names":["React","PropTypes","styles","MenuButton","props","title","onPress","source","btnClickContain","btnContainer","btnIcon","btnText","propTypes","func","number","any"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;;;;;AAEA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,MAAP;AAEA,eAAe,SAASC,UAAT,CAAoBC,KAApB,EAA2B;AAAA,MAChCC,KADgC,GACLD,KADK,CAChCC,KADgC;AAAA,MACzBC,OADyB,GACLF,KADK,CACzBE,OADyB;AAAA,MAChBC,MADgB,GACLH,KADK,CAChBG,MADgB;AAGxC,SACE,oBAAC,kBAAD;AAAoB,IAAA,OAAO,EAAED,OAA7B;AAAsC,IAAA,KAAK,EAAEJ,MAAM,CAACM,eAApD;AAAqE,IAAA,aAAa,EAAC,0BAAnF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,KACE,oBAAC,IAAD;AAAM,IAAA,KAAK,EAAEN,MAAM,CAACO,YAApB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,KACE,oBAAC,KAAD;AAAO,IAAA,MAAM,EAAEF,MAAf;AAAuB,IAAA,KAAK,EAAEL,MAAM,CAACQ,OAArC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IADF,EAEE,oBAAC,IAAD;AAAM,IAAA,KAAK,EAAER,MAAM,CAACS,OAApB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,KAA8BN,KAA9B,CAFF,CADF,CADF;AAQD;AAEDF,UAAU,CAACS,SAAX,GAAuB;AACrBN,EAAAA,OAAO,EAAEL,SAAS,CAACY,IADE;AAErBN,EAAAA,MAAM,EAAEN,SAAS,CAACa,MAFG;AAGrBT,EAAAA,KAAK,EAAEJ,SAAS,CAACc;AAHI,CAAvB","sourcesContent":["import React from \"react\";\nimport { TouchableHighlight, Image, Text, View } from \"react-native\";\nimport PropTypes from \"prop-types\";\nimport styles from \"./styles\";\n\nexport default function MenuButton(props) {\n  const { title, onPress, source } = props;\n\n  return (\n    <TouchableHighlight onPress={onPress} style={styles.btnClickContain} underlayColor=\"rgba(128, 128, 128, 0.1)\">\n      <View style={styles.btnContainer}>\n        <Image source={source} style={styles.btnIcon} />\n        <Text style={styles.btnText}>{title}</Text>\n      </View>\n    </TouchableHighlight>\n  );\n}\n\nMenuButton.propTypes = {\n  onPress: PropTypes.func,\n  source: PropTypes.number,\n  title: PropTypes.any,\n};\n"]},"metadata":{},"sourceType":"module"}