<p><p>The ComponentRegistry maintains an index of React components registered
by Nylas packages. Components can use <ahref='injectedcomponent.html'>InjectedComponent</a> and <ahref='injectedcomponentset.html'>InjectedComponentSet</a>
<p><ahref='https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object'>Object</a> A React Component with a <code>displayName</code></p>
<p><ahref='https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object'>Object</a>: Note that for advanced use cases, you can also pass (<code>modes</code>, <code>roles</code>, <code>locations</code>) with arrays instead of single values.</p>
<p><p>Retrieve the registry entry for a given name.</p>
</p>
</div>
<strong>Parameters</strong>
<tableclass="arguments">
<tr>
<th>Argument</th>
<th>Description</th>
</tr>
<tr>
<tdstyle="width:15%;">
<em>name</em>
</td>
<tdclass="markdown-from-sourecode">
<p>The <ahref='https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string'>String</a> name of the registered component to retrieve.</p>
</td>
</tr>
</table>
<strong>Returns</strong>
<tableclass="arguments">
<tr>
<th>Return Values</th>
</tr>
<tr><tdclass="markdown-from-sourecode"><p>Returns a <ahref='https://facebook.github.io/react/docs/component-api.html'>React.Component</a></p>
<p>An <ahref='https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object'>Object</a> that specifies set of components using the available keys below. Note that for advanced use cases, you can also pass (<code>modes</code>, <code>roles</code>, <code>locations</code>) with arrays instead of single values.</p>
</td>
</tr>
</table>
<strong>Returns</strong>
<tableclass="arguments">
<tr>
<th>Return Values</th>
</tr>
<tr><tdclass="markdown-from-sourecode"><p>Returns an <ahref='https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/array'>Array</a> of <ahref='https://facebook.github.io/react/docs/component-api.html'>React.Component</a> objects</p>