{"id":202,"date":"2020-04-10T03:34:27","date_gmt":"2020-04-10T03:34:27","guid":{"rendered":"https:\/\/docs.theironnetwork.org\/hulk\/?page_id=202"},"modified":"2020-04-13T11:45:06","modified_gmt":"2020-04-13T11:45:06","slug":"chip","status":"publish","type":"page","link":"https:\/\/docs.theironnetwork.org\/hulk\/chip\/","title":{"rendered":"Chip"},"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>&nbsp;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;Chip label=\"Basic\" \/><\/pre>\n\n\n\n<p><strong>Step 2:<\/strong>&nbsp;Now Import the component from its parent library.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">import Chip from '@material-ui\/core\/Chip'<\/pre>\n\n\n\n<p>We have given you an example of adding a default chip in Dashboard.<\/p>\n\n\n\n<p>You can check some other chip layouts below. For adding any of the below layout in the template, please check their relative code in the\u00a0<code>src->routes->UiComponents->Chip->index.js<\/code>\u00a0file.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"499\" src=\"https:\/\/docs.theironnetwork.org\/hulk\/wp-content\/uploads\/sites\/13\/2020\/04\/Selection_147-1024x499.png\" alt=\"\" class=\"wp-image-351\" srcset=\"https:\/\/docs.theironnetwork.org\/hulk\/wp-content\/uploads\/sites\/13\/2020\/04\/Selection_147-1024x499.png 1024w, https:\/\/docs.theironnetwork.org\/hulk\/wp-content\/uploads\/sites\/13\/2020\/04\/Selection_147-300x146.png 300w, https:\/\/docs.theironnetwork.org\/hulk\/wp-content\/uploads\/sites\/13\/2020\/04\/Selection_147-768x374.png 768w, https:\/\/docs.theironnetwork.org\/hulk\/wp-content\/uploads\/sites\/13\/2020\/04\/Selection_147-1536x749.png 1536w, https:\/\/docs.theironnetwork.org\/hulk\/wp-content\/uploads\/sites\/13\/2020\/04\/Selection_147-1568x764.png 1568w, https:\/\/docs.theironnetwork.org\/hulk\/wp-content\/uploads\/sites\/13\/2020\/04\/Selection_147.png 1592w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\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:&nbsp;Please add the code given below in the page where you want to add the component. &lt;Chip label=&#8221;Basic&#8221; \/> Step 2:&nbsp;Now Import the component from its parent library. import Chip from &#8216;@material-ui\/core\/Chip&#8217; We have [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":10,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/docs.theironnetwork.org\/hulk\/wp-json\/wp\/v2\/pages\/202"}],"collection":[{"href":"https:\/\/docs.theironnetwork.org\/hulk\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/docs.theironnetwork.org\/hulk\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/docs.theironnetwork.org\/hulk\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.theironnetwork.org\/hulk\/wp-json\/wp\/v2\/comments?post=202"}],"version-history":[{"count":3,"href":"https:\/\/docs.theironnetwork.org\/hulk\/wp-json\/wp\/v2\/pages\/202\/revisions"}],"predecessor-version":[{"id":352,"href":"https:\/\/docs.theironnetwork.org\/hulk\/wp-json\/wp\/v2\/pages\/202\/revisions\/352"}],"wp:attachment":[{"href":"https:\/\/docs.theironnetwork.org\/hulk\/wp-json\/wp\/v2\/media?parent=202"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}