You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

1 lines
2.6 KiB

{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CustomSelectBox/index.js\";\nimport React from \"react\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nconst CustomSelectBox = _ref => {\n let {\n options\n } = _ref;\n return /*#__PURE__*/_jsxDEV(\"select\", {\n className: \"customizeSelect rounded text-xs text-[#bdc3c7] py-2 bg-[#F9F9F9] focus:bg-white border border-surfaceBorder \",\n children: options.map((option, index) => /*#__PURE__*/_jsxDEV(\"option\", {\n className: \"text-red-500\",\n children: option.title\n }, index, false, {\n fileName: _jsxFileName,\n lineNumber: 7,\n columnNumber: 9\n }, this))\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 5,\n columnNumber: 5\n }, this);\n};\n\n_c = CustomSelectBox;\nexport default CustomSelectBox;\nCustomSelectBox.defaultProps = {\n options: [{\n title: \"میزان تحصیلات\"\n }, {\n title: \"کارشناسی\"\n }, {\n title: \"ارشد\"\n }, {\n title: \"دکتری\"\n }]\n};\n\nvar _c;\n\n$RefreshReg$(_c, \"CustomSelectBox\");","map":{"version":3,"names":["React","CustomSelectBox","options","map","option","index","title","defaultProps"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CustomSelectBox/index.js"],"sourcesContent":["import React from \"react\";\n\nconst CustomSelectBox = ({ options }) => {\n return (\n <select className=\"customizeSelect rounded text-xs text-[#bdc3c7] py-2 bg-[#F9F9F9] focus:bg-white border border-surfaceBorder \">\n {options.map((option, index) => (\n <option className=\"text-red-500\" key={index}>\n {option.title}\n </option>\n ))}\n </select>\n );\n};\n\nexport default CustomSelectBox;\n\nCustomSelectBox.defaultProps = {\n options: [\n { title: \"میزان تحصیلات\" },\n { title: \"کارشناسی\" },\n { title: \"ارشد\" },\n { title: \"دکتری\" },\n ],\n};\n"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;;;AAEA,MAAMC,eAAe,GAAG,QAAiB;EAAA,IAAhB;IAAEC;EAAF,CAAgB;EACvC,oBACE;IAAQ,SAAS,EAAC,8GAAlB;IAAA,UACGA,OAAO,CAACC,GAAR,CAAY,CAACC,MAAD,EAASC,KAAT,kBACX;MAAQ,SAAS,EAAC,cAAlB;MAAA,UACGD,MAAM,CAACE;IADV,GAAsCD,KAAtC;MAAA;MAAA;MAAA;IAAA,QADD;EADH;IAAA;IAAA;IAAA;EAAA,QADF;AASD,CAVD;;KAAMJ,e;AAYN,eAAeA,eAAf;AAEAA,eAAe,CAACM,YAAhB,GAA+B;EAC7BL,OAAO,EAAE,CACP;IAAEI,KAAK,EAAE;EAAT,CADO,EAEP;IAAEA,KAAK,EAAE;EAAT,CAFO,EAGP;IAAEA,KAAK,EAAE;EAAT,CAHO,EAIP;IAAEA,KAAK,EAAE;EAAT,CAJO;AADoB,CAA/B"},"metadata":{},"sourceType":"module"}