@uiw/doc
Version:
UIW documentation website.
2 lines • 1.59 kB
JavaScript
;(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[7025],{7025:(e,t,n)=>{n.r(t),n.d(t,{default:()=>l});var a=n(3279),c=n(623),h=n(7937);const s={App:"index_App__4ziwe"};var i=n(6646),p=n(4760);function l(){const e=(0,a.TH)(),t=i.find((t=>new RegExp("^".concat(t.path)).test(e.pathname)));return(0,p.jsxs)("div",{className:s.App,children:[(0,p.jsx)("h1",{children:"\u6982\u89c8 \u7ec4\u4ef6"}),t&&t.children&&t.children.map(((e,t)=>e.divider?(0,p.jsx)("h2",{children:e.name},t):/^http(?:|s):\/\//.test(e.path||"")?(0,p.jsx)("a",{href:e.path,target:"__blank",children:(0,p.jsxs)(h.Button,{type:"light",children:[e.name,(0,p.jsxs)("svg",{viewBox:"0 0 1024 1024",width:14,children:[(0,p.jsx)("path",{d:"M821.1456 276.8384c-235.9296 25.1392-449.1776 226.7136-490.5472 452.352a38.4 38.4 0 1 1-75.5712-13.824c45.568-248.576 269.312-468.48 526.6944-510.6688l-117.8112-69.1712a38.4 38.4 0 0 1 38.912-66.2528l223.3344 131.1744a38.4 38.4 0 0 1 10.1376 57.6l-170.752 206.6432a38.4 38.4 0 1 1-59.1872-48.9472l114.7904-138.9056z"}),(0,p.jsx)("path",{d:"M832 620.0832a38.4 38.4 0 0 1 76.8 0v158.208c0 85.9648-61.5936 157.8496-140.8 157.8496H204.8c-79.2064 0-140.8-71.8848-140.8-157.9008V300.3904c0-86.016 61.5936-157.8496 140.8-157.8496h220.2112a38.4 38.4 0 1 1 0 76.8H204.8c-33.8944 0-64 35.072-64 81.0496V778.24c0 45.9776 30.1056 81.1008 64 81.1008h563.2c33.8944 0 64-35.1232 64-81.1008v-158.1568z"})]})]})},t):(0,p.jsx)(c.rU,{to:"/components/".concat(e.path),children:(0,p.jsx)(h.Button,{type:"light",children:e.name})},t)))]})}}}]);
//# sourceMappingURL=7025.37492535.chunk.js.map