{"id":276,"date":"2019-10-04T05:47:32","date_gmt":"2019-10-04T05:47:32","guid":{"rendered":"https:\/\/docs.theironnetwork.org\/reactify\/?page_id=276"},"modified":"2019-10-10T08:21:16","modified_gmt":"2019-10-10T08:21:16","slug":"divider","status":"publish","type":"page","link":"https:\/\/docs.theironnetwork.org\/reactify\/divider\/","title":{"rendered":"Divider"},"content":{"rendered":"\n<p>You can add the component on any page in the template. You need to follow the steps given below: \u200c<\/p>\n\n\n\n<p><strong>Step 1:<\/strong> Please add the code given below in the page where you want to add the component.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;List className=\"p-0\"><br>   &lt;ListItem button><br>   &lt;ListItemIcon>&lt;i className=\"zmdi zmdi-inbox zmdi-hc-lg\">&lt;\/i>&lt;\/ListItemIcon><br>   &lt;ListItemText primary=\"Inbox (2)\" \/><br>   &lt;\/ListItem><br>   &lt;Divider \/><br>   &lt;ListItem button><br>   &lt;ListItemIcon>&lt;i className=\"zmdi zmdi-folder-star-alt zmdi-hc-lg\">&lt;\/i>&lt;\/ListItemIcon><br>   &lt;ListItemText primary=\"Drafts\" \/><br>      &lt;\/ListItem><br>&lt;\/List> <\/pre>\n\n\n\n<p><strong>Step 2:<\/strong> Now Import the component from its parent library.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">import List from '@material-ui\/core\/List';<br>import ListItem from '@material-ui\/core\/ListItem';<br>import ListItemText from '@material-ui\/core\/ListItemText';<br>import ListItemIcon from '@material-ui\/core\/ListItemIcon';<br>import Divider from '@material-ui\/core\/Divider';<\/pre>\n\n\n\n<p>We have given you an example of adding a simple list divider on the Ecommerce Dashboard.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" width=\"1024\" height=\"175\" src=\"https:\/\/docs.theironnetwork.org\/reactify\/wp-content\/uploads\/sites\/4\/2019\/10\/divider-1024x175.png\" alt=\"\" class=\"wp-image-481\" srcset=\"https:\/\/docs.theironnetwork.org\/reactify\/wp-content\/uploads\/sites\/4\/2019\/10\/divider-1024x175.png 1024w, https:\/\/docs.theironnetwork.org\/reactify\/wp-content\/uploads\/sites\/4\/2019\/10\/divider-300x51.png 300w, https:\/\/docs.theironnetwork.org\/reactify\/wp-content\/uploads\/sites\/4\/2019\/10\/divider-768x131.png 768w, https:\/\/docs.theironnetwork.org\/reactify\/wp-content\/uploads\/sites\/4\/2019\/10\/divider.png 1295w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>You can check some other layouts of dividers below. For adding any of the below layout in the template, please check their relative code in the <code>src->routes->components->dividers->components<\/code> folder.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" width=\"1024\" height=\"263\" src=\"https:\/\/docs.theironnetwork.org\/reactify\/wp-content\/uploads\/sites\/4\/2019\/10\/divider2-1024x263.png\" alt=\"\" class=\"wp-image-482\" srcset=\"https:\/\/docs.theironnetwork.org\/reactify\/wp-content\/uploads\/sites\/4\/2019\/10\/divider2-1024x263.png 1024w, https:\/\/docs.theironnetwork.org\/reactify\/wp-content\/uploads\/sites\/4\/2019\/10\/divider2-300x77.png 300w, https:\/\/docs.theironnetwork.org\/reactify\/wp-content\/uploads\/sites\/4\/2019\/10\/divider2-768x197.png 768w, https:\/\/docs.theironnetwork.org\/reactify\/wp-content\/uploads\/sites\/4\/2019\/10\/divider2-1568x403.png 1568w, https:\/\/docs.theironnetwork.org\/reactify\/wp-content\/uploads\/sites\/4\/2019\/10\/divider2.png 1615w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<div class=\"pld-like-dislike-wrap pld-template-1\">\n    <div class=\"pld-like-wrap  pld-common-wrap\">\n    <a href=\"javascript:void(0);\" class=\"pld-like-trigger pld-like-dislike-trigger \" title=\"\" data-post-id=\"276\" data-trigger-type=\"like\" data-restriction=\"cookie\" data-ip-check=\"0\" data-user-check=\"1\">\n                        <i class=\"fas fa-thumbs-up\"><\/i>\n                    <\/a>\n    <span class=\"pld-like-count-wrap pld-count-wrap\">1    <\/span>\n<\/div><div class=\"pld-dislike-wrap  pld-common-wrap\">\n    <a href=\"javascript:void(0);\" class=\"pld-dislike-trigger pld-like-dislike-trigger \" title=\"\" data-post-id=\"276\" data-trigger-type=\"dislike\" data-ip-check=\"0\" data-restriction=\"cookie\" data-user-check=\"1\">\n                        <i class=\"fas fa-thumbs-down\"><\/i>\n                    <\/a>\n    <span class=\"pld-dislike-count-wrap pld-count-wrap\"><\/span>\n<\/div><\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>You can add the component on any page in the template. You need to follow the steps given below: \u200c Step 1: Please add the code given below in the page where you want to add the component. &lt;List className=&#8221;p-0&#8243;> &lt;ListItem button> &lt;ListItemIcon>&lt;i className=&#8221;zmdi zmdi-inbox zmdi-hc-lg&#8221;>&lt;\/i>&lt;\/ListItemIcon> &lt;ListItemText primary=&#8221;Inbox (2)&#8221; \/> &lt;\/ListItem> &lt;Divider \/> &lt;ListItem button> [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":24,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/docs.theironnetwork.org\/reactify\/wp-json\/wp\/v2\/pages\/276"}],"collection":[{"href":"https:\/\/docs.theironnetwork.org\/reactify\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/docs.theironnetwork.org\/reactify\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/docs.theironnetwork.org\/reactify\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.theironnetwork.org\/reactify\/wp-json\/wp\/v2\/comments?post=276"}],"version-history":[{"count":2,"href":"https:\/\/docs.theironnetwork.org\/reactify\/wp-json\/wp\/v2\/pages\/276\/revisions"}],"predecessor-version":[{"id":483,"href":"https:\/\/docs.theironnetwork.org\/reactify\/wp-json\/wp\/v2\/pages\/276\/revisions\/483"}],"wp:attachment":[{"href":"https:\/\/docs.theironnetwork.org\/reactify\/wp-json\/wp\/v2\/media?parent=276"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}