{"id":2117,"date":"2024-12-29T22:16:01","date_gmt":"2024-12-29T20:16:01","guid":{"rendered":"https:\/\/epicmarketing.co.il\/notebook\/?p=2117"},"modified":"2024-12-29T22:34:13","modified_gmt":"2024-12-29T20:34:13","slug":"react-native-styling","status":"publish","type":"post","link":"https:\/\/epicmarketing.co.il\/notebook\/react-native-styling\/","title":{"rendered":"React Native Styling"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u05e2\u05d9\u05e6\u05d5\u05d1<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05e2\u05d9\u05e6\u05d5\u05d1 \u05d1-react native \u05d3\u05d5\u05de\u05d4 \u05dc\u05d6\u05d4 \u05e9\u05dc \u05e2\u05d9\u05e6\u05d5\u05d1 \u05d0\u05e4\u05dc\u05d9\u05e7\u05e6\u05d9\u05d5\u05ea web. \u05d0\u05d7\u05d3 \u05d4\u05d4\u05d1\u05d3\u05dc\u05d9\u05dd \u05d4\u05d5\u05d0 \u05e9\u05dc\u05d0 \u05de\u05e9\u05ea\u05de\u05e9\u05d9\u05dd \u05d1-CSS \u05d0\u05dc\u05d0 \u05d1\u05e7\u05d5\u05d3 \u05e9\u05dc JS.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d4\u05e9\u05de\u05d5\u05ea \u05d3\u05d5\u05de\u05d9\u05dd \u05dc-CSS, \u05d0\u05d1\u05dc \u05d4\u05e9\u05de\u05d5\u05ea \u05e0\u05db\u05ea\u05d1\u05d9\u05dd \u05d1-Camel Case. \u05dc\u05de\u05e9\u05dc backgroundColor \u05d1\u05de\u05e7\u05d5\u05dd background-color.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d9\u05e9 2 \u05d2\u05d9\u05e9\u05d5\u05ea \u05dc\u05e2\u05d9\u05e6\u05d5\u05d1, \u05e2\u05d9\u05e6\u05d5\u05d1 \u05d1\u05ea\u05d5\u05da \u05d4\u05e9\u05d5\u05e8\u05d4 inline \u05d5\u05e8\u05d0\u05d9\u05e0\u05d5 \u05d3\u05d5\u05d2\u05de\u05d0\u05d5\u05ea \u05dc\u05d6\u05d4 \u05d1\u05e4\u05d5\u05e1\u05d8 \u05d4\u05e7\u05d5\u05d3\u05dd. \u05d4\u05d2\u05d9\u05e9\u05d4 \u05d4\u05e9\u05e0\u05d9\u05d9\u05d4 \u05de\u05e9\u05ea\u05de\u05e9\u05ea \u05d1-StyleSheet API \u05e9\u05de\u05d0\u05e4\u05e9\u05e8 \u05dc\u05d4\u05d2\u05d3\u05d9\u05e8 \u05de\u05e1\u05e4\u05e8 \u05e2\u05d9\u05e6\u05d5\u05d1\u05d9\u05dd \u05d1\u05de\u05e7\u05d5\u05dd \u05d0\u05d7\u05d3.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">StyleSheet API<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05e9\u05d9\u05de\u05d5\u05e9 \u05d1-inline style:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nexport default function Index() {\n  return (\n    &lt;View style={{flex: 1, backgroundColor: &quot;yellow&quot;, padding: 60}}&gt;\n      &lt;Text&gt;StyleSheet API&lt;\/Text&gt;\n    &lt;\/View&gt;\n  );\n}\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05e4\u05d7\u05d5\u05ea \u05de\u05d5\u05de\u05dc\u05e5 \u05d5\u05e7\u05e9\u05d4 \u05dc\u05ea\u05d7\u05d6\u05d5\u05e7\u05d4.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05e9\u05d9\u05de\u05d5\u05e9 \u05d1-StyleSheet API &#8211; \u05e0\u05d5\u05ea\u05df \u05de\u05e9\u05de\u05e2\u05d5\u05ea \u05dc\u05d7\u05d1\u05d9\u05dc\u05ea \u05d4\u05e2\u05d9\u05e6\u05d5\u05d1, \u05e7\u05e8\u05d9\u05d0 \u05d9\u05d5\u05ea\u05e8 \u05d5\u05e7\u05dc \u05dc\u05d4\u05e9\u05ea\u05de\u05e9 \u05e9\u05d5\u05d1 \u05d1\u05e7\u05d5\u05d3.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nimport { View, Text, StyleSheet } from &quot;react-native&quot;;\n\nexport default function Index() {\n  return (\n    &lt;View style={styles.container}&gt;\n      &lt;Text&gt;StyleSheet API&lt;\/Text&gt;\n    &lt;\/View&gt;\n  );\n}\n\nconst styles = StyleSheet.create({\n  container:{ flex: 1, backgroundColor: &quot;yellow&quot;, padding: 60 }\n})\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d0\u05e4\u05e9\u05e8 \u05dc\u05e9\u05d9\u05dd \u05d0\u05ea \u05d4\u05e7\u05d5\u05d3 \u05d4\u05e2\u05d9\u05e6\u05d5\u05d1\u05d9 \u05d1\u05e7\u05d5\u05d1\u05e5 \u05e0\u05e4\u05e8\u05d3, \u05dc\u05d4\u05d5\u05e1\u05d9\u05e3 export \u05d5\u05d0\u05d6 \u05d4\u05e7\u05d5\u05d3 \u05d9\u05d4\u05d9\u05d4 \u05e9\u05de\u05d9\u05e9 \u05dc\u05e7\u05d1\u05e6\u05d9\u05dd \u05e8\u05d1\u05d9\u05dd.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Multiple Styles<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05e0\u05e8\u05d0\u05d4 \u05d0\u05d9\u05da \u05dc\u05d4\u05d7\u05d9\u05dc \u05db\u05de\u05d4 \u05e1\u05d2\u05e0\u05d5\u05e0\u05d5\u05ea \u05d1\u05e7\u05d5\u05d1\u05e5 \u05d0\u05d7\u05d3.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nimport { View, Text, StyleSheet } from &quot;react-native&quot;;\n\nexport default function Index() {\n  return (\n    &lt;View style={styles.container}&gt;\n      &lt;View style={styles.blueBox}&gt;\n        &lt;Text&gt;Blue box&lt;\/Text&gt;\n      &lt;\/View&gt;\n      &lt;View style={styles.greenBox}&gt;\n        &lt;Text&gt;Green box&lt;\/Text&gt;\n      &lt;\/View&gt;\n    &lt;\/View&gt;\n  );\n}\n\nconst styles = StyleSheet.create({\n  container:{ flex: 1, backgroundColor: &quot;yellow&quot;, padding: 60 },\n  blueBox: { backgroundColor: &quot;blue&quot;, width: 100, height: 100, padding: 10 },\n  greenBox: { backgroundColor: &quot;green&quot;, width: 100, height: 100, padding: 10 }\n})\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d0\u05e4\u05e9\u05e8 \u05dc\u05e8\u05d0\u05d5\u05ea \u05e9\u05d9\u05e9 \u05e2\u05d9\u05e6\u05d5\u05d1 \u05de\u05e9\u05d5\u05ea\u05e3 \u05dc-blueBox \u05d5\u05dc-greenBox. \u05d0\u05e4\u05e9\u05e8 \u05dc\u05db\u05ea\u05d5\u05d1 \u05d0\u05ea \u05d4\u05e7\u05d5\u05d3 \u05e4\u05e2\u05dd \u05d0\u05d7\u05ea \u05d5\u05dc\u05de\u05d7\u05d6\u05e8 \u05d0\u05d5\u05ea\u05d5.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nimport { View, Text, StyleSheet } from &quot;react-native&quot;;\n\nexport default function Index() {\n  return (\n    &lt;View style={styles.container}&gt;\n      &lt;View style={&#x5B;styles.box, styles.blueBox]}&gt;\n        &lt;Text&gt;Blue box&lt;\/Text&gt;\n      &lt;\/View&gt;\n      &lt;View style={&#x5B;styles.box, styles.greenBox]}&gt;\n        &lt;Text&gt;Green box&lt;\/Text&gt;\n      &lt;\/View&gt;\n    &lt;\/View&gt;\n  );\n}\n\nconst styles = StyleSheet.create({\n  container:{ flex: 1, backgroundColor: &quot;yellow&quot;, padding: 60 },\n  box: { width: 100, height: 100, padding: 10 },\n  blueBox: { backgroundColor: &quot;blue&quot; },\n  greenBox: { backgroundColor: &quot;green&quot; }\n}) \n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05e0\u05e9\u05ea\u05de\u05e9 \u05d1\u05de\u05e2\u05e8\u05da \u05e9\u05dc styles \u05e2\u05dc \u05de\u05e0\u05ea \u05dc\u05d4\u05d7\u05d9\u05dc \u05de\u05e1\u05e4\u05e8 \u05e1\u05d2\u05e0\u05d5\u05e0\u05d5\u05ea \u05e2\u05dc \u05d0\u05d5\u05ea\u05d5 \u05e8\u05db\u05d9\u05d1.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Box Model<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d4\u05d2\u05d5\u05d1\u05d4 \u05d5\u05d4\u05e8\u05d5\u05d7\u05d1 \u05e9\u05dc \u05d0\u05dc\u05de\u05e0\u05d8\u05d9\u05dd \u05de\u05d5\u05d2\u05d3\u05e8\u05d9\u05dd \u05d1\u05de\u05e1\u05e4\u05e8\u05d9\u05dd \u05de\u05d5\u05d7\u05dc\u05d8\u05d9\u05dd. \u05d0\u05e4\u05e9\u05e8 \u05dc\u05d4\u05d2\u05d3\u05d9\u05e8 \u05d0\u05d5\u05ea\u05dd \u05d1\u05d0\u05d7\u05d5\u05d6\u05d9\u05dd. \u05d1\u05d3\u05d5\u05d2\u05de\u05d0, \u05de\u05db\u05d9\u05d5\u05d5\u05df \u05e9\u05d4-container \u05de\u05d5\u05d2\u05d3\u05e8 \u05db-flex \u05e2\u05dd \u05e2\u05e8\u05da 1, \u05db\u05dc\u05d5\u05de\u05e8 \u05ea\u05d5\u05e4\u05e1 \u05d0\u05ea \u05db\u05dc \u05d4\u05e9\u05d8\u05d7 \u05d4\u05d6\u05de\u05d9\u05df \u05e2\u05dc \u05d4\u05de\u05e1\u05da, \u05d0\u05e4\u05e9\u05e8 \u05dc\u05d4\u05d2\u05d3\u05d9\u05e8 \u05d0\u05ea \u05d2\u05d5\u05d3\u05dc \u05d4-box \u05d1\u05d0\u05d7\u05d5\u05d6\u05d9\u05dd.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05db\u05da \u05e0\u05e8\u05d0\u05d4 \u05e9\u05d8\u05d7 \u05d4-box \u05e2\u05dd \u05d4\u05e2\u05e8\u05db\u05d9\u05dd \u05d4\u05de\u05d5\u05d7\u05dc\u05d8\u05d9\u05dd:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img fetchpriority=\"high\" decoding=\"async\" width=\"417\" height=\"676\" src=\"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-29-215810.png\" alt=\"\" class=\"wp-image-2129\" style=\"width:197px;height:auto\" srcset=\"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-29-215810.png 417w, https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-29-215810-185x300.png 185w\" sizes=\"(max-width: 417px) 100vw, 417px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d5\u05db\u05da \u05d4\u05d5\u05d0 \u05e0\u05e8\u05d0\u05d4 \u05d0\u05dd \u05de\u05d2\u05d3\u05d9\u05e8\u05d9\u05dd \u05d0\u05ea \u05d4\u05d0\u05d5\u05e8\u05da \u05d5\u05d4\u05e8\u05d5\u05d7\u05d1 \u05dc-25%. \u05d4-box \u05ea\u05d5\u05e4\u05e1 25% \u05de\u05d0\u05d5\u05e8\u05da \u05d4\u05de\u05e1\u05da \u05d5-25% \u05de\u05d4\u05e8\u05d5\u05d7\u05d1 \u05e9\u05dc\u05d5.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img decoding=\"async\" width=\"417\" height=\"683\" src=\"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-29-220105.png\" alt=\"\" class=\"wp-image-2130\" style=\"width:205px;height:auto\" srcset=\"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-29-220105.png 417w, https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-29-220105-183x300.png 183w\" sizes=\"(max-width: 417px) 100vw, 417px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d4\u05e2\u05e8\u05da \u05e9\u05dc padding \u05de\u05de\u05dc\u05d0 \u05d0\u05ea \u05d0\u05d5\u05ea\u05d5 \u05d4\u05ea\u05e4\u05e7\u05d9\u05d3 \u05db\u05de\u05d5 \u05d1\u05e2\u05d9\u05e6\u05d5\u05d1 \u05e2\u05de\u05d5\u05d3 \u05d1\u05d0\u05d9\u05e0\u05d8\u05e8\u05e0\u05d8. \u05d4\u05e8\u05d5\u05d5\u05d7 \u05e9\u05d9\u05e9 \u05d1\u05ea\u05d5\u05da \u05d4\u05d0\u05d5\u05d1\u05d9\u05d9\u05e7\u05d8 \u05d1\u05d9\u05df \u05d4\u05de\u05e1\u05d2\u05e8\u05ea \u05dc\u05d0\u05dc\u05de\u05e0\u05d8\u05d9\u05dd \u05e9\u05dc\u05d5.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d0\u05e4\u05e9\u05e8 \u05dc\u05d4\u05d2\u05d3\u05d9\u05e8 \u05d1\u05e0\u05e4\u05e8\u05d3 padding \u05dc\u05d0\u05d5\u05e8\u05da \u05d5\u05dc\u05e8\u05d5\u05d7\u05d1. \u05d1\u05d0\u05d5\u05ea\u05d4 \u05d4\u05d3\u05e8\u05da margin \u05de\u05e7\u05d1\u05dc \u05e2\u05e8\u05db\u05d9\u05dd.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nconst styles = StyleSheet.create({\n  container:{ flex: 1, backgroundColor: &quot;yellow&quot;, padding: 60 },\n  box: { width: &quot;25%&quot;, height: &quot;25%&quot;, paddingHorizontal: 10, paddingVertical: 30 },\n  blueBox: { backgroundColor: &quot;lightblue&quot; },\n  greenBox: { backgroundColor: &quot;lightgreen&quot; }\n})\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05db\u05d3\u05d9 \u05dc\u05d4\u05d2\u05d3\u05d9\u05e8 \u05d2\u05d1\u05d5\u05dc, \u05e0\u05d2\u05d3\u05d9\u05e8 \u05db\u05dc \u05d7\u05dc\u05e7 \u05e9\u05dc\u05d5 \u05d1\u05e0\u05e4\u05e8\u05d3. \u05e2\u05d5\u05d1\u05d9, \u05e6\u05d1\u05e2 \u05d5\u05e1\u05d2\u05e0\u05d5\u05df.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nbox: { \n    width: 100, \n    height: 100, \n    paddingHorizontal: 10, \n    paddingVertical: 30, \n    borderWidth: 2,\n    borderColor: &quot;purple&quot;,\n    borderStyle: &quot;dashed&quot;\n   },\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d0\u05dd \u05e8\u05d5\u05e6\u05d9\u05dd \u05e4\u05d9\u05e0\u05d5\u05ea \u05de\u05e2\u05d5\u05d2\u05dc\u05d5\u05ea \u05d0\u05e4\u05e9\u05e8 \u05dc\u05d4\u05e9\u05ea\u05de\u05e9 \u05d1-borderRadius.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Shadow and Elevation<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05e2\u05dc \u05de\u05e0\u05ea \u05dc\u05d4\u05d2\u05d3\u05d9\u05e8 \u05e6\u05dc \u05e0\u05e9\u05ea\u05de\u05e9 \u05d1-4 \u05d4\u05d2\u05d3\u05e8\u05d5\u05ea. \u05d4\u05d4\u05d2\u05d3\u05e8\u05d5\u05ea \u05d4\u05d0\u05dc\u05d4 \u05e2\u05d5\u05d1\u05d3\u05d5\u05ea \u05d1-iPhone \u05d5\u05dc\u05d0 \u05d1-Android.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; highlight: [16,17,18,19,20,21,22,23,24]; title: ; notranslate\" title=\"\">\nconst styles = StyleSheet.create({\n  container:{ flex: 1, backgroundColor: &quot;yellow&quot;, padding: 60 },\n  box: { \n    width: 250, \n    height: 250, \n    paddingHorizontal: 10, \n    paddingVertical: 30, \n    borderWidth: 2,\n    borderColor: &quot;purple&quot;,\n    borderStyle: &quot;solid&quot;,\n    borderRadius: 10,\n    marginBottom: 20\n   },\n  blueBox: { backgroundColor: &quot;lightblue&quot; },\n  greenBox: { backgroundColor: &quot;lightgreen&quot; },\n  boxShadow: {\n    shadowColor: &quot;#333333&quot;,\n    shadowOffset: {\n      width: 6,\n      height: 6\n    },\n    shadowOpacity: 0.6,\n    shadowRadius: 4\n  }\n})\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05e2\u05dc \u05de\u05e0\u05ea \u05dc\u05d9\u05e6\u05d5\u05e8 \u05e6\u05dc \u05d1-android \u05e0\u05e9\u05ea\u05de\u05e9 \u05d1\u05ea\u05db\u05d5\u05e0\u05ea elevation.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; highlight: [25,26,27]; title: ; notranslate\" title=\"\">\nconst styles = StyleSheet.create({\n  container:{ flex: 1, backgroundColor: &quot;yellow&quot;, padding: 60 },\n  box: { \n    width: 250, \n    height: 250, \n    paddingHorizontal: 10, \n    paddingVertical: 30, \n    borderWidth: 2,\n    borderColor: &quot;purple&quot;,\n    borderStyle: &quot;solid&quot;,\n    borderRadius: 10,\n    marginBottom: 20\n   },\n  blueBox: { backgroundColor: &quot;lightblue&quot; },\n  greenBox: { backgroundColor: &quot;lightgreen&quot; },\n  boxShadow: {\n    shadowColor: &quot;#333333&quot;,\n    shadowOffset: {\n      width: 6,\n      height: 6\n    },\n    shadowOpacity: 0.6,\n    shadowRadius: 4\n  },\n  androidShadow: {\n    elevation: 10\n  }\n})\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">Style Inheritance<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05e0\u05d5\u05e1\u05d9\u05e3 View \u05d7\u05d3\u05e9 \u05d5\u05e0\u05d9\u05ea\u05df \u05dc\u05d5 \u05e8\u05e7\u05e2 \u05e9\u05d7\u05d5\u05e8. \u05dc\u05d0 \u05e0\u05e8\u05d0\u05d4 \u05d0\u05ea \u05d4\u05d8\u05e7\u05e1\u05d8, \u05db\u05d9 \u05d2\u05dd \u05d4\u05d5\u05d0 \u05e9\u05d7\u05d5\u05e8.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\n&lt;View style={styles.container}&gt;\n  &lt;View style={styles.darkMode}&gt;\n    &lt;Text&gt;Style Inheritance&lt;\/Text&gt;\n  &lt;\/View&gt;\n  ...\n&lt;\/View&gt;\n\nconst styles = StyleSheet.create({\n  container:{ flex: 1, backgroundColor: &quot;yellow&quot;, padding: 60 },\n  darkMode: {\n    backgroundColor: &quot;black&quot;\n  },\n  ...\n}) \n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05db\u05db\u05d4 \u05e0\u05e8\u05d0\u05d4 \u05d4\u05de\u05e1\u05da:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img decoding=\"async\" width=\"418\" height=\"680\" src=\"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-29-222550.png\" alt=\"\" class=\"wp-image-2134\" style=\"width:224px;height:auto\" srcset=\"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-29-222550.png 418w, https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-29-222550-184x300.png 184w\" sizes=\"(max-width: 418px) 100vw, 418px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05e0\u05d5\u05e1\u05d9\u05e3 \u05d0\u05ea \u05d4\u05e6\u05d1\u05e2 \u05d4\u05dc\u05d1\u05df \u05dc\u05e2\u05d9\u05e6\u05d5\u05d1 \u05d5&#8230; \u05e0\u05e8\u05d0\u05d4 \u05e9\u05d4\u05d8\u05e7\u05e1\u05d8 \u05e2\u05d3\u05d9\u05d9\u05df \u05e9\u05d7\u05d5\u05e8.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\ndarkMode: {\n  backgroundColor: &quot;black&quot;,\n  color: &quot;white&quot;\n},\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d1\u05e2\u05d9\u05e6\u05d5\u05d1 \u05e2\u05de\u05d5\u05d3 \u05d0\u05d9\u05e0\u05d8\u05e8\u05e0\u05d8, \u05d0\u05dd \u05e0\u05d2\u05d3\u05d9\u05e8 \u05d1-div \u05e6\u05d1\u05e2 \u05d2\u05d5\u05e4\u05df, \u05db\u05dc \u05d4\u05d0\u05dc\u05de\u05e0\u05d8\u05d9\u05dd \u05e9\u05d9\u05e9 \u05d1\u05ea\u05d5\u05da \u05d4-div \u05d9\u05e7\u05d1\u05dc\u05d5 \u05d0\u05ea \u05d4\u05e6\u05d1\u05e2 \u05d1\u05d9\u05e8\u05d5\u05e9\u05d4. \u05d1-React Native \u05d6\u05d4 \u05dc\u05d0 \u05e2\u05d5\u05d1\u05d3 \u05db\u05db\u05d4. \u05d0\u05d9\u05df \u05d9\u05e8\u05d5\u05e9\u05d4 \u05e9\u05dc \u05e2\u05d9\u05e6\u05d5\u05d1 \u05d1\u05d9\u05df \u05d4-View \u05dc\u05d1\u05d9\u05df \u05d0\u05d5\u05d1\u05d9\u05d9\u05e7\u05d8 \u05d4-Text. \u05db\u05d3\u05d9 \u05d4\u05e4\u05d5\u05da \u05d0\u05ea \u05d4\u05d8\u05e7\u05e1\u05d8 \u05dc\u05dc\u05d1\u05df \u05e6\u05e8\u05d9\u05da \u05dc\u05d4\u05d7\u05d9\u05dc \u05d0\u05d5\u05ea\u05d5 \u05e2\u05dc \u05d0\u05d5\u05d1\u05d9\u05d9\u05e7\u05d8 \u05d4-Text.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\n&lt;View style={styles.container}&gt;\n  &lt;View style={styles.darkMode}&gt;\n    &lt;Text style={styles.darkModeText}&gt;Style Inheritance&lt;\/Text&gt;\n  &lt;\/View&gt;\n  ...\n&lt;\/View&gt;\n\nconst styles = StyleSheet.create({\n  container:{ flex: 1, backgroundColor: &quot;yellow&quot;, padding: 60 },\n  darkMode: {\n    backgroundColor: &quot;black&quot;\n  },\n  darkModeText: {\n    color: &quot;white&quot;\n  },\n  ...\n}) \n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05e2\u05db\u05e9\u05d9\u05d5 \u05d4\u05d8\u05e7\u05e1\u05d8 \u05d4\u05d5\u05e4\u05da \u05dc\u05dc\u05d1\u05df. \u05d0\u05dd \u05e0\u05d5\u05e1\u05d9\u05e3 \u05e8\u05db\u05d9\u05d1 Text \u05e0\u05d5\u05e1\u05e3 \u05d1\u05ea\u05d5\u05da \u05e8\u05db\u05d9\u05d1 \u05d4-Text \u05d4\u05e7\u05d9\u05d9\u05dd \u05d5\u05e0\u05d9\u05ea\u05df \u05dc\u05d5 \u05ea\u05db\u05d5\u05e0\u05ea bold, \u05d4\u05d8\u05e7\u05e1\u05d8 \u05d9\u05d4\u05d9\u05d4 \u05d2\u05dd \u05dc\u05d1\u05df \u05d5\u05d2\u05dd \u05de\u05d5\u05d3\u05d2\u05e9. \u05d9\u05e9 \u05d9\u05e8\u05d5\u05e9\u05d4 \u05d1\u05d9\u05df text \u05d0\u05d7\u05d3 \u05dc\u05e9\u05e0\u05d9.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u05e2\u05d9\u05e6\u05d5\u05d1 \u05e2\u05d9\u05e6\u05d5\u05d1 \u05d1-react native \u05d3\u05d5\u05de\u05d4 \u05dc\u05d6\u05d4 \u05e9\u05dc \u05e2\u05d9\u05e6\u05d5\u05d1 \u05d0\u05e4\u05dc\u05d9\u05e7\u05e6\u05d9\u05d5\u05ea web. \u05d0\u05d7\u05d3 \u05d4\u05d4\u05d1\u05d3\u05dc\u05d9\u05dd \u05d4\u05d5\u05d0 \u05e9\u05dc\u05d0 \u05de\u05e9\u05ea\u05de\u05e9\u05d9\u05dd \u05d1-CSS \u05d0\u05dc\u05d0 \u05d1\u05e7\u05d5\u05d3 \u05e9\u05dc JS. \u05d4\u05e9\u05de\u05d5\u05ea \u05d3\u05d5\u05de\u05d9\u05dd \u05dc-CSS, \u05d0\u05d1\u05dc \u05d4\u05e9\u05de\u05d5\u05ea \u05e0\u05db\u05ea\u05d1\u05d9\u05dd \u05d1-Camel Case. \u05dc\u05de\u05e9\u05dc backgroundColor \u05d1\u05de\u05e7\u05d5\u05dd background-color. \u05d9\u05e9 2 \u05d2\u05d9\u05e9\u05d5\u05ea \u05dc\u05e2\u05d9\u05e6\u05d5\u05d1, \u05e2\u05d9\u05e6\u05d5\u05d1 \u05d1\u05ea\u05d5\u05da \u05d4\u05e9\u05d5\u05e8\u05d4 inline \u05d5\u05e8\u05d0\u05d9\u05e0\u05d5 \u05d3\u05d5\u05d2\u05de\u05d0\u05d5\u05ea \u05dc\u05d6\u05d4 \u05d1\u05e4\u05d5\u05e1\u05d8 \u05d4\u05e7\u05d5\u05d3\u05dd. \u05d4\u05d2\u05d9\u05e9\u05d4 \u05d4\u05e9\u05e0\u05d9\u05d9\u05d4 \u05de\u05e9\u05ea\u05de\u05e9\u05ea \u05d1-StyleSheet API \u05e9\u05de\u05d0\u05e4\u05e9\u05e8 \u05dc\u05d4\u05d2\u05d3\u05d9\u05e8 \u05de\u05e1\u05e4\u05e8 \u05e2\u05d9\u05e6\u05d5\u05d1\u05d9\u05dd \u05d1\u05de\u05e7\u05d5\u05dd [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"","ocean_second_sidebar":"","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"","ocean_custom_header_template":"","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"","ocean_menu_typo_font_family":"","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"","_jetpack_memberships_contains_paid_content":false,"ocean_post_oembed":"","ocean_post_self_hosted_media":"","ocean_post_video_embed":"","ocean_link_format":"","ocean_link_format_target":"self","ocean_quote_format":"","ocean_quote_format_link":"post","ocean_gallery_link_images":"on","ocean_gallery_id":[],"footnotes":""},"categories":[80],"tags":[],"class_list":["post-2117","post","type-post","status-publish","format-standard","hentry","category-react-native","entry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>React Native Styling - Code Notebook<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/epicmarketing.co.il\/notebook\/react-native-styling\/\" \/>\n<meta property=\"og:locale\" content=\"he_IL\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"React Native Styling - Code Notebook\" \/>\n<meta property=\"og:description\" content=\"\u05e2\u05d9\u05e6\u05d5\u05d1 \u05e2\u05d9\u05e6\u05d5\u05d1 \u05d1-react native \u05d3\u05d5\u05de\u05d4 \u05dc\u05d6\u05d4 \u05e9\u05dc \u05e2\u05d9\u05e6\u05d5\u05d1 \u05d0\u05e4\u05dc\u05d9\u05e7\u05e6\u05d9\u05d5\u05ea web. \u05d0\u05d7\u05d3 \u05d4\u05d4\u05d1\u05d3\u05dc\u05d9\u05dd \u05d4\u05d5\u05d0 \u05e9\u05dc\u05d0 \u05de\u05e9\u05ea\u05de\u05e9\u05d9\u05dd \u05d1-CSS \u05d0\u05dc\u05d0 \u05d1\u05e7\u05d5\u05d3 \u05e9\u05dc JS. \u05d4\u05e9\u05de\u05d5\u05ea \u05d3\u05d5\u05de\u05d9\u05dd \u05dc-CSS, \u05d0\u05d1\u05dc \u05d4\u05e9\u05de\u05d5\u05ea \u05e0\u05db\u05ea\u05d1\u05d9\u05dd \u05d1-Camel Case. \u05dc\u05de\u05e9\u05dc backgroundColor \u05d1\u05de\u05e7\u05d5\u05dd background-color. \u05d9\u05e9 2 \u05d2\u05d9\u05e9\u05d5\u05ea \u05dc\u05e2\u05d9\u05e6\u05d5\u05d1, \u05e2\u05d9\u05e6\u05d5\u05d1 \u05d1\u05ea\u05d5\u05da \u05d4\u05e9\u05d5\u05e8\u05d4 inline \u05d5\u05e8\u05d0\u05d9\u05e0\u05d5 \u05d3\u05d5\u05d2\u05de\u05d0\u05d5\u05ea \u05dc\u05d6\u05d4 \u05d1\u05e4\u05d5\u05e1\u05d8 \u05d4\u05e7\u05d5\u05d3\u05dd. \u05d4\u05d2\u05d9\u05e9\u05d4 \u05d4\u05e9\u05e0\u05d9\u05d9\u05d4 \u05de\u05e9\u05ea\u05de\u05e9\u05ea \u05d1-StyleSheet API \u05e9\u05de\u05d0\u05e4\u05e9\u05e8 \u05dc\u05d4\u05d2\u05d3\u05d9\u05e8 \u05de\u05e1\u05e4\u05e8 \u05e2\u05d9\u05e6\u05d5\u05d1\u05d9\u05dd \u05d1\u05de\u05e7\u05d5\u05dd [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/epicmarketing.co.il\/notebook\/react-native-styling\/\" \/>\n<meta property=\"og:site_name\" content=\"Code Notebook\" \/>\n<meta property=\"article:published_time\" content=\"2024-12-29T20:16:01+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-12-29T20:34:13+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-29-215810.png\" \/>\n\t<meta property=\"og:image:width\" content=\"417\" \/>\n\t<meta property=\"og:image:height\" content=\"676\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"kerendanino\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u05e0\u05db\u05ea\u05d1 \u05e2\u05dc \u05d9\u05d3\" \/>\n\t<meta name=\"twitter:data1\" content=\"kerendanino\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u05d6\u05de\u05df \u05e7\u05e8\u05d9\u05d0\u05d4 \u05de\u05d5\u05e2\u05e8\u05da\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u05d3\u05e7\u05d5\u05ea\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/react-native-styling\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/react-native-styling\\\/\"},\"author\":{\"name\":\"kerendanino\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#\\\/schema\\\/person\\\/195dfc625818eadda7903d456890e24c\"},\"headline\":\"React Native Styling\",\"datePublished\":\"2024-12-29T20:16:01+00:00\",\"dateModified\":\"2024-12-29T20:34:13+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/react-native-styling\\\/\"},\"wordCount\":64,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/react-native-styling\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/wp-content\\\/uploads\\\/2024\\\/12\\\/Screenshot-2024-12-29-215810.png\",\"articleSection\":[\"React Native\"],\"inLanguage\":\"he-IL\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/react-native-styling\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/react-native-styling\\\/\",\"url\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/react-native-styling\\\/\",\"name\":\"React Native Styling - Code Notebook\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/react-native-styling\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/react-native-styling\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/wp-content\\\/uploads\\\/2024\\\/12\\\/Screenshot-2024-12-29-215810.png\",\"datePublished\":\"2024-12-29T20:16:01+00:00\",\"dateModified\":\"2024-12-29T20:34:13+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/react-native-styling\\\/#breadcrumb\"},\"inLanguage\":\"he-IL\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/react-native-styling\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"he-IL\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/react-native-styling\\\/#primaryimage\",\"url\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/wp-content\\\/uploads\\\/2024\\\/12\\\/Screenshot-2024-12-29-215810.png\",\"contentUrl\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/wp-content\\\/uploads\\\/2024\\\/12\\\/Screenshot-2024-12-29-215810.png\",\"width\":417,\"height\":676},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/react-native-styling\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"React Native Styling\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#website\",\"url\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/\",\"name\":\"Code Notebook\",\"description\":\"Easy coding\",\"publisher\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"he-IL\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#organization\",\"name\":\"Code Notebook\",\"url\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"he-IL\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo-epic-marketing-05.png\",\"contentUrl\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo-epic-marketing-05.png\",\"width\":3626,\"height\":1942,\"caption\":\"Code Notebook\"},\"image\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#\\\/schema\\\/person\\\/195dfc625818eadda7903d456890e24c\",\"name\":\"kerendanino\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"he-IL\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/285cc9389c66aa46da1e26a474b1e90e9efaf3fa21f1b928cbd63ce5f0e89c63?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/285cc9389c66aa46da1e26a474b1e90e9efaf3fa21f1b928cbd63ce5f0e89c63?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/285cc9389c66aa46da1e26a474b1e90e9efaf3fa21f1b928cbd63ce5f0e89c63?s=96&d=mm&r=g\",\"caption\":\"kerendanino\"},\"url\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/author\\\/kerendanino\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"React Native Styling - Code Notebook","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/epicmarketing.co.il\/notebook\/react-native-styling\/","og_locale":"he_IL","og_type":"article","og_title":"React Native Styling - Code Notebook","og_description":"\u05e2\u05d9\u05e6\u05d5\u05d1 \u05e2\u05d9\u05e6\u05d5\u05d1 \u05d1-react native \u05d3\u05d5\u05de\u05d4 \u05dc\u05d6\u05d4 \u05e9\u05dc \u05e2\u05d9\u05e6\u05d5\u05d1 \u05d0\u05e4\u05dc\u05d9\u05e7\u05e6\u05d9\u05d5\u05ea web. \u05d0\u05d7\u05d3 \u05d4\u05d4\u05d1\u05d3\u05dc\u05d9\u05dd \u05d4\u05d5\u05d0 \u05e9\u05dc\u05d0 \u05de\u05e9\u05ea\u05de\u05e9\u05d9\u05dd \u05d1-CSS \u05d0\u05dc\u05d0 \u05d1\u05e7\u05d5\u05d3 \u05e9\u05dc JS. \u05d4\u05e9\u05de\u05d5\u05ea \u05d3\u05d5\u05de\u05d9\u05dd \u05dc-CSS, \u05d0\u05d1\u05dc \u05d4\u05e9\u05de\u05d5\u05ea \u05e0\u05db\u05ea\u05d1\u05d9\u05dd \u05d1-Camel Case. \u05dc\u05de\u05e9\u05dc backgroundColor \u05d1\u05de\u05e7\u05d5\u05dd background-color. \u05d9\u05e9 2 \u05d2\u05d9\u05e9\u05d5\u05ea \u05dc\u05e2\u05d9\u05e6\u05d5\u05d1, \u05e2\u05d9\u05e6\u05d5\u05d1 \u05d1\u05ea\u05d5\u05da \u05d4\u05e9\u05d5\u05e8\u05d4 inline \u05d5\u05e8\u05d0\u05d9\u05e0\u05d5 \u05d3\u05d5\u05d2\u05de\u05d0\u05d5\u05ea \u05dc\u05d6\u05d4 \u05d1\u05e4\u05d5\u05e1\u05d8 \u05d4\u05e7\u05d5\u05d3\u05dd. \u05d4\u05d2\u05d9\u05e9\u05d4 \u05d4\u05e9\u05e0\u05d9\u05d9\u05d4 \u05de\u05e9\u05ea\u05de\u05e9\u05ea \u05d1-StyleSheet API \u05e9\u05de\u05d0\u05e4\u05e9\u05e8 \u05dc\u05d4\u05d2\u05d3\u05d9\u05e8 \u05de\u05e1\u05e4\u05e8 \u05e2\u05d9\u05e6\u05d5\u05d1\u05d9\u05dd \u05d1\u05de\u05e7\u05d5\u05dd [&hellip;]","og_url":"https:\/\/epicmarketing.co.il\/notebook\/react-native-styling\/","og_site_name":"Code Notebook","article_published_time":"2024-12-29T20:16:01+00:00","article_modified_time":"2024-12-29T20:34:13+00:00","og_image":[{"width":417,"height":676,"url":"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-29-215810.png","type":"image\/png"}],"author":"kerendanino","twitter_card":"summary_large_image","twitter_misc":{"\u05e0\u05db\u05ea\u05d1 \u05e2\u05dc \u05d9\u05d3":"kerendanino","\u05d6\u05de\u05df \u05e7\u05e8\u05d9\u05d0\u05d4 \u05de\u05d5\u05e2\u05e8\u05da":"3 \u05d3\u05e7\u05d5\u05ea"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/epicmarketing.co.il\/notebook\/react-native-styling\/#article","isPartOf":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/react-native-styling\/"},"author":{"name":"kerendanino","@id":"https:\/\/epicmarketing.co.il\/notebook\/#\/schema\/person\/195dfc625818eadda7903d456890e24c"},"headline":"React Native Styling","datePublished":"2024-12-29T20:16:01+00:00","dateModified":"2024-12-29T20:34:13+00:00","mainEntityOfPage":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/react-native-styling\/"},"wordCount":64,"commentCount":0,"publisher":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/#organization"},"image":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/react-native-styling\/#primaryimage"},"thumbnailUrl":"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-29-215810.png","articleSection":["React Native"],"inLanguage":"he-IL","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/epicmarketing.co.il\/notebook\/react-native-styling\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/epicmarketing.co.il\/notebook\/react-native-styling\/","url":"https:\/\/epicmarketing.co.il\/notebook\/react-native-styling\/","name":"React Native Styling - Code Notebook","isPartOf":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/#website"},"primaryImageOfPage":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/react-native-styling\/#primaryimage"},"image":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/react-native-styling\/#primaryimage"},"thumbnailUrl":"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-29-215810.png","datePublished":"2024-12-29T20:16:01+00:00","dateModified":"2024-12-29T20:34:13+00:00","breadcrumb":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/react-native-styling\/#breadcrumb"},"inLanguage":"he-IL","potentialAction":[{"@type":"ReadAction","target":["https:\/\/epicmarketing.co.il\/notebook\/react-native-styling\/"]}]},{"@type":"ImageObject","inLanguage":"he-IL","@id":"https:\/\/epicmarketing.co.il\/notebook\/react-native-styling\/#primaryimage","url":"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-29-215810.png","contentUrl":"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2024\/12\/Screenshot-2024-12-29-215810.png","width":417,"height":676},{"@type":"BreadcrumbList","@id":"https:\/\/epicmarketing.co.il\/notebook\/react-native-styling\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/epicmarketing.co.il\/notebook\/"},{"@type":"ListItem","position":2,"name":"React Native Styling"}]},{"@type":"WebSite","@id":"https:\/\/epicmarketing.co.il\/notebook\/#website","url":"https:\/\/epicmarketing.co.il\/notebook\/","name":"Code Notebook","description":"Easy coding","publisher":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/epicmarketing.co.il\/notebook\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"he-IL"},{"@type":"Organization","@id":"https:\/\/epicmarketing.co.il\/notebook\/#organization","name":"Code Notebook","url":"https:\/\/epicmarketing.co.il\/notebook\/","logo":{"@type":"ImageObject","inLanguage":"he-IL","@id":"https:\/\/epicmarketing.co.il\/notebook\/#\/schema\/logo\/image\/","url":"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/07\/logo-epic-marketing-05.png","contentUrl":"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/07\/logo-epic-marketing-05.png","width":3626,"height":1942,"caption":"Code Notebook"},"image":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/epicmarketing.co.il\/notebook\/#\/schema\/person\/195dfc625818eadda7903d456890e24c","name":"kerendanino","image":{"@type":"ImageObject","inLanguage":"he-IL","@id":"https:\/\/secure.gravatar.com\/avatar\/285cc9389c66aa46da1e26a474b1e90e9efaf3fa21f1b928cbd63ce5f0e89c63?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/285cc9389c66aa46da1e26a474b1e90e9efaf3fa21f1b928cbd63ce5f0e89c63?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/285cc9389c66aa46da1e26a474b1e90e9efaf3fa21f1b928cbd63ce5f0e89c63?s=96&d=mm&r=g","caption":"kerendanino"},"url":"https:\/\/epicmarketing.co.il\/notebook\/author\/kerendanino\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/posts\/2117","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/comments?post=2117"}],"version-history":[{"count":8,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/posts\/2117\/revisions"}],"predecessor-version":[{"id":2136,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/posts\/2117\/revisions\/2136"}],"wp:attachment":[{"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/media?parent=2117"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/categories?post=2117"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/tags?post=2117"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}