{"meta":"<p>Support IE10+</p>\n<h2 id=\"Guide\">Guide <a class=\"header-anchor scroll-count-item\" href=\"#Guide\" data-scroll-id=\"Guide\">#</a></h2>\n<p>Shell is the infrastructure framework of the whole application. It embodies the structure of the application and the basic capabilities of the application, so that users can complete all their operations under the same framework.</p>\n<h3 id=\"&#x4F55;&#x65F6;&#x4F7F;&#x7528;\">&#x4F55;&#x65F6;&#x4F7F;&#x7528; <a class=\"header-anchor scroll-count-item\" href=\"#&#x4F55;&#x65F6;&#x4F7F;&#x7528;\" data-scroll-id=\"&#x4F55;&#x65F6;&#x4F7F;&#x7528;\">#</a></h3>\n<ul>\n<li>Shell should be configured according to the actual business requirements.</li>\n<li>The same application uses a unified Shell framework to avoid confusion.</li>\n</ul>\n<pre class=\"language-jsx\"><code class=\"language-jsx\"><span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;</span><span class=\"token class-name\">Shell</span></span><span class=\"token punctuation\">&gt;</span></span><span class=\"token plain-text\">\n    </span><span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;</span><span class=\"token class-name\">Shell.Branding</span></span> <span class=\"token punctuation\">/&gt;</span></span><span class=\"token plain-text\">\n    </span><span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;</span><span class=\"token class-name\">Shell.Navigation</span></span> <span class=\"token punctuation\">/&gt;</span></span><span class=\"token plain-text\">\n    </span><span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;</span><span class=\"token class-name\">Shell.Action</span></span> <span class=\"token punctuation\">/&gt;</span></span><span class=\"token plain-text\">\n\n    </span><span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;</span><span class=\"token class-name\">Shell.MultiTask</span></span> <span class=\"token punctuation\">/&gt;</span></span><span class=\"token plain-text\">\n    </span><span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;</span><span class=\"token class-name\">Shell.LocalNavigation</span></span> <span class=\"token punctuation\">/&gt;</span></span><span class=\"token plain-text\">\n\n    </span><span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;</span><span class=\"token class-name\">Shell.AppBar</span></span> <span class=\"token punctuation\">/&gt;</span></span><span class=\"token plain-text\">\n    </span><span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;</span><span class=\"token class-name\">Shell.Content</span></span> <span class=\"token punctuation\">/&gt;</span></span><span class=\"token plain-text\">\n    </span><span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;</span><span class=\"token class-name\">Shell.Footer</span></span> <span class=\"token punctuation\">/&gt;</span></span><span class=\"token plain-text\">\n\n    </span><span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;</span><span class=\"token class-name\">Shell.Ancillary</span></span> <span class=\"token punctuation\">/&gt;</span></span><span class=\"token plain-text\">\n    </span><span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;</span><span class=\"token class-name\">Shell.ToolDock</span></span><span class=\"token punctuation\">&gt;</span></span><span class=\"token plain-text\">\n        </span><span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;</span><span class=\"token class-name\">Shell.ToolDockItem</span></span> <span class=\"token punctuation\">/&gt;</span></span><span class=\"token plain-text\">\n    </span><span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;/</span><span class=\"token class-name\">Shell.ToolDock</span></span><span class=\"token punctuation\">&gt;</span></span><span class=\"token plain-text\">\n</span><span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;/</span><span class=\"token class-name\">Shell</span></span><span class=\"token punctuation\">&gt;</span></span>\n</code></pre>\n<p><code>&lt;Shell.Content /&gt;</code> uses css-grid, others are <code>display: flex</code></p>\n","api":"<h2 id=\"API\">API <a class=\"header-anchor scroll-count-item\" href=\"#API\" data-scroll-id=\"API\">#</a></h2>\n<h3 id=\"Shell\">Shell <a class=\"header-anchor scroll-count-item\" href=\"#Shell\" data-scroll-id=\"Shell\">#</a></h3>\n<table>\n<thead>\n<tr>\n<th>Param</th>\n<th>Description</th>\n<th>Type</th>\n<th>Default Value</th>\n<th>Required</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>device</td>\n<td>Preset screen width, which determines whether <code>Navigation</code> <code>LocalNavigation</code> <code>Ancillary</code> take space or not</td>\n<td>&apos;tablet&apos; | &apos;desktop&apos; | &apos;phone&apos;</td>\n<td>&apos;desktop&apos;</td>\n<td></td>\n</tr>\n<tr>\n<td>type</td>\n<td>Type of Shell</td>\n<td>&apos;light&apos; | &apos;dark&apos; | &apos;brand&apos;</td>\n<td>&apos;light&apos;</td>\n<td></td>\n</tr>\n<tr>\n<td>fixedHeader</td>\n<td>Fixed header or not. Doesn&apos;t work under IE11</td>\n<td>boolean</td>\n<td>false</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n<h3 id=\"Shell Navigation\">Shell.Navigation <a class=\"header-anchor scroll-count-item\" href=\"#Shell Navigation\" data-scroll-id=\"Shell Navigation\">#</a></h3>\n<table>\n<thead>\n<tr>\n<th>Param</th>\n<th>Description</th>\n<th>Type</th>\n<th>Default Value</th>\n<th>Required</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>direction</td>\n<td>Header or asider</td>\n<td>&apos;hoz&apos; | &apos;ver&apos;</td>\n<td>&apos;hoz&apos;</td>\n<td></td>\n</tr>\n<tr>\n<td>collapse</td>\n<td>Collapse or not</td>\n<td>boolean</td>\n<td>false</td>\n<td></td>\n</tr>\n<tr>\n<td>align</td>\n<td>Arrangement of Navigation when direction is hoz</td>\n<td>&apos;left&apos; | &apos;right&apos; | &apos;center&apos;</td>\n<td>&apos;right&apos;</td>\n<td></td>\n</tr>\n<tr>\n<td>onCollapseChange</td>\n<td>This will be triggered when collapse changed by inner icon</td>\n<td>(collapse?: boolean) =&gt; void</td>\n<td>func.noop</td>\n<td></td>\n</tr>\n<tr>\n<td>trigger</td>\n<td>Trigger of Shell.Navigation, it placed on top and left of the page, you can set null to remove it</td>\n<td>ReactNode</td>\n<td>-</td>\n<td></td>\n</tr>\n<tr>\n<td>fixed</td>\n<td>Fixed or not, only worked when Shell fixedHeader is true</td>\n<td>boolean</td>\n<td>false</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n<h3 id=\"Shell Local Navigation\">Shell.LocalNavigation <a class=\"header-anchor scroll-count-item\" href=\"#Shell Local Navigation\" data-scroll-id=\"Shell Local Navigation\">#</a></h3>\n<table>\n<thead>\n<tr>\n<th>Param</th>\n<th>Description</th>\n<th>Type</th>\n<th>Default Value</th>\n<th>Required</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>collapse</td>\n<td>Collapse or not</td>\n<td>boolean</td>\n<td>false</td>\n<td></td>\n</tr>\n<tr>\n<td>onCollapseChange</td>\n<td>This will be triggered when collapse changed by inner icon</td>\n<td>(collapse?: boolean) =&gt; void</td>\n<td>func.noop</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n<h3 id=\"Shell Tool Dock\">Shell.ToolDock <a class=\"header-anchor scroll-count-item\" href=\"#Shell Tool Dock\" data-scroll-id=\"Shell Tool Dock\">#</a></h3>\n<table>\n<thead>\n<tr>\n<th>Param</th>\n<th>Description</th>\n<th>Type</th>\n<th>Default Value</th>\n<th>Required</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>collapse</td>\n<td>Collapse or not</td>\n<td>boolean</td>\n<td>false</td>\n<td></td>\n</tr>\n<tr>\n<td>onCollapseChange</td>\n<td>This will be triggered when collapse changed by inner icon</td>\n<td>(collapse?: boolean) =&gt; void</td>\n<td>func.noop</td>\n<td></td>\n</tr>\n<tr>\n<td>fixed</td>\n<td>Fixed or not, only worked when Shell fixedHeader is true</td>\n<td>boolean</td>\n<td>false</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n<h3 id=\"Shell Ancillary\">Shell.Ancillary <a class=\"header-anchor scroll-count-item\" href=\"#Shell Ancillary\" data-scroll-id=\"Shell Ancillary\">#</a></h3>\n<table>\n<thead>\n<tr>\n<th>Param</th>\n<th>Description</th>\n<th>Type</th>\n<th>Default Value</th>\n<th>Required</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>collapse</td>\n<td>Collapse or not</td>\n<td>boolean</td>\n<td>false</td>\n<td></td>\n</tr>\n<tr>\n<td>onCollapseChange</td>\n<td>This will be triggered when collapse changed by inner icon</td>\n<td>(collapse?: boolean) =&gt; void</td>\n<td>func.noop</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n"}