<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Modal in calcite-components-react in Calcite Design System Questions</title>
    <link>https://community.esri.com/t5/calcite-design-system-questions/modal-in-calcite-components-react/m-p/1289595#M398</link>
    <description>&lt;P&gt;Am I missing something? Does the React Modal component not have a contents or title prop? I can't even get anything to show in the footer. If this is documented somewhere, can someone please point me in the right direction? Is there any more documentation outside of the small example included in the &lt;A href="https://github.com/Esri/calcite-components-examples" target="_blank" rel="noopener"&gt;calcite-components-examples repo&lt;/A&gt;?&lt;/P&gt;&lt;P&gt;&lt;A href="https://codesandbox.io/s/competent-babbage-n8q3ol?file=/src/App.js" target="_blank"&gt;https://codesandbox.io/s/competent-babbage-n8q3ol?file=/src/App.js&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 16 May 2023 14:18:57 GMT</pubDate>
    <dc:creator>awatson32</dc:creator>
    <dc:date>2023-05-16T14:18:57Z</dc:date>
    <item>
      <title>Modal in calcite-components-react</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/modal-in-calcite-components-react/m-p/1289595#M398</link>
      <description>&lt;P&gt;Am I missing something? Does the React Modal component not have a contents or title prop? I can't even get anything to show in the footer. If this is documented somewhere, can someone please point me in the right direction? Is there any more documentation outside of the small example included in the &lt;A href="https://github.com/Esri/calcite-components-examples" target="_blank" rel="noopener"&gt;calcite-components-examples repo&lt;/A&gt;?&lt;/P&gt;&lt;P&gt;&lt;A href="https://codesandbox.io/s/competent-babbage-n8q3ol?file=/src/App.js" target="_blank"&gt;https://codesandbox.io/s/competent-babbage-n8q3ol?file=/src/App.js&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2023 14:18:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/modal-in-calcite-components-react/m-p/1289595#M398</guid>
      <dc:creator>awatson32</dc:creator>
      <dc:date>2023-05-16T14:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: Modal in calcite-components-react</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/modal-in-calcite-components-react/m-p/1289624#M399</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/675632"&gt;@awatson32&lt;/a&gt;&amp;nbsp;For placement of content in the modal, such as a &lt;A href="https://developers.arcgis.com/calcite-design-system/components/modal/#api-reference-slots-header" target="_blank" rel="noopener"&gt;header&lt;/A&gt; or &lt;A href="https://developers.arcgis.com/calcite-design-system/components/modal/#api-reference-slots-content" target="_blank" rel="noopener"&gt;contents&lt;/A&gt;, you can leverage the &lt;A href="https://developers.arcgis.com/calcite-design-system/components/modal/#slots" target="_blank" rel="noopener"&gt;modal's slots&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;For instance:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;&amp;lt;CalciteModal open={isOpen} onCalciteModalClose={() =&amp;gt; setIsOpen(undefined)}&amp;gt;
  &amp;lt;h3 slot="header"&amp;gt;A modal header&amp;lt;/h3&amp;gt;
  &amp;lt;p slot="content"&amp;gt;Some modal contents&amp;lt;/p&amp;gt;
  &amp;lt;CalciteButton slot="back" kind="neutral" width="full"&amp;gt;
    Back
  &amp;lt;/CalciteButton&amp;gt;
  &amp;lt;CalciteButton id="save-button" slot="primary" width="full"&amp;gt;
    Save and close
  &amp;lt;/CalciteButton&amp;gt;
&amp;lt;/CalciteModal&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is also a &lt;A href="https://developers.arcgis.com/calcite-design-system/core-concepts/" target="_blank" rel="noopener"&gt;core concepts page&lt;/A&gt;, which provides some background and context on web components, including slots, shadow DOM, CSS variables, and more.&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2023 14:59:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/modal-in-calcite-components-react/m-p/1289624#M399</guid>
      <dc:creator>KittyHurley</dc:creator>
      <dc:date>2023-05-16T14:59:33Z</dc:date>
    </item>
  </channel>
</rss>

