_1_TermsPopup.js 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. import React from 'react';
  2. import i18n from "i18n-js";
  3. import C from 'rn-class'
  4. C.addColor("#03cf5d", "color-naver");
  5. C.addColor("#6280ba", "color-agreeBtn");
  6. C.addColor("#c87320" , "color-not_agreeBtn");
  7. export default (props)=>{
  8. // 다국어 처리 영역
  9. let {termsTitle, termsContents, agree , not_agree} = i18n.t("AcceptTerms");
  10. let {close} = i18n.t("TermsPopup");
  11. return (
  12. <C.SafeAreaView cls="po-full jc-c ai-c">
  13. <C.View cls="flx0.8 w80% ai-c sdof_0_5 sdo2 bc-color-gray-light-v3 el2 pa2">
  14. <C.Text cls="f4 fw-b">{termsTitle[0]}</C.Text>
  15. <C.EL.Divider cls="ma1 w100%"/>
  16. <C.View cls="flx1 jc-sa">
  17. <C.ScrollView>
  18. <C.Text>
  19. {termsContents}
  20. {termsContents}
  21. {termsContents}
  22. {termsContents}
  23. {termsContents}
  24. {termsContents}
  25. {termsContents}
  26. {termsContents}
  27. {termsContents}
  28. {termsContents}
  29. {termsContents}
  30. {termsContents}{termsContents}
  31. {termsContents}
  32. {termsContents}
  33. {termsContents}
  34. {termsContents}
  35. {termsContents}
  36. {termsContents}
  37. {termsContents}
  38. {termsContents}
  39. {termsContents}
  40. {termsContents}
  41. {termsContents}{termsContents}
  42. {termsContents}
  43. {termsContents}
  44. {termsContents}
  45. {termsContents}
  46. {termsContents}
  47. {termsContents}
  48. {termsContents}
  49. {termsContents}
  50. {termsContents}
  51. {termsContents}
  52. {termsContents}
  53. </C.Text>
  54. </C.ScrollView>
  55. <C.EL.Button ccls="mt1" btncls="bgc-color-agreeBtn" title={close}/>
  56. </C.View>
  57. </C.View>
  58. </C.SafeAreaView>
  59. )
  60. }