UNPKG

@uiw/doc

Version:

UIW documentation website.

2 lines 15.3 kB
(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[7779],{4934:t=>{function s(t){var s=new Error("Cannot find module '"+t+"'");throw s.code="MODULE_NOT_FOUND",s}s.keys=()=>[],s.resolve=s,s.id=4934,t.exports=s},5301:(t,s,e)=>{"use strict";e.d(s,{Z:()=>u});var i=e(8573),a=e(6320),r=e(8563),o=e(7622),h=e(7937);const l={docinfo:"index_docinfo__3Vx8S",markdown:"index_markdown__hcQCp",markdownWrap:"index_markdownWrap__t60jR"};var g=e(4760);function c(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{path:s}=t,e=/^http/.test(s||"")?s:"https://github.com/uiwjs/uiw/blob/master/".concat(s);return(0,g.jsxs)("div",{className:l.docinfo,children:["\u72af\u4e86\u9519\u8bef\u8fd8\u662f\u60f3\u5bf9\u6587\u4ef6\u505a\u51fa\u8d21\u732e\uff1f",e&&(0,g.jsx)("a",{href:e,target:"_blank",rel:"noopener noreferrer",children:"\u5728Github\u4e0a\u7f16\u8f91\u672c\u9875\uff01"}),(0,g.jsx)("br",{}),(0,g.jsx)("a",{href:"https://github.com/uiwjs/uiw/issues",target:"_blank",rel:"noopener noreferrer",children:"\u53cd\u9988\u5efa\u8bae"}),(0,g.jsx)(h.Divider,{type:"vertical"}),(0,g.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/uiwjs/uiw/issues/new",children:"\u63d0\u4ea4bug"}),(0,g.jsx)(h.Divider,{type:"vertical"}),(0,g.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/uiwjs/uiw",children:"Github"}),(0,g.jsx)(h.Divider,{type:"vertical"}),(0,g.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/kktjs/kkt",children:"kkt"}),(0,g.jsx)(h.Divider,{type:"vertical"}),(0,g.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/kktjs/kkt-ssr",children:"@kkt/ssr"}),(0,g.jsx)(h.Divider,{type:"vertical"}),(0,g.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"http://uiw.gitee.io",children:"\u56fd\u5185\u955c\u50cf"})]})}const b=a.ZP.Preview,n=a.ZP.Code,m=a.ZP.Toolbar,p=t=>{var s,e;let{node:o,components:h,data:l,...c}=t;const p=(0,i.useRef)(null),{headings:u,headingsList:d,...v}=c;(0,i.useEffect)((()=>{if(p.current){const t=p.current.parentElement;t&&t.parentElement&&t.parentElement.replaceChild(p.current,t)}}),[p]);const j=null===o||void 0===o||null===(s=o.position)||void 0===s?void 0:s.start.line,f=null===o||void 0===o||null===(e=o.data)||void 0===e?void 0:e.meta,k=(0,r.Mx)(f)||String(j),x=h["".concat(k)];if(k&&"function"===typeof x){const t=l[k].value||"",s=(0,r.aE)(f||"");return(0,g.jsxs)(a.ZP,{ref:p,children:[(0,g.jsx)(b,{style:{background:s.bg||"transparent"},children:(0,g.jsx)(x,{})}),(0,g.jsx)(m,{text:t,children:s.title||"Example"}),(0,g.jsx)(n,{children:(0,g.jsx)("pre",{...v})})]})}return(0,g.jsx)("code",{...v})};function u(t){return(0,g.jsxs)(i.Fragment,{children:[(0,g.jsx)(o.Z,{className:l.markdownWrap,source:t.source||"",disableCopy:!0,wrapperElement:{"data-color-mode":"light"},components:{code:s=>(0,g.jsx)(p,{...t,...s})}}),(0,g.jsx)(c,{path:t.path})]})}},5581:(t,s,e)=>{"use strict";e.r(s),e.d(s,{default:()=>o});const i={components:{},data:{},source:"\u793e\u533a\u7cbe\u9009\u7ec4\u4ef6\n===\n\n\u4e0b\u9762\u662f\u4e00\u4e9b\u57fa\u4e8e React \u5b9e\u73b0\u7684\u4f18\u79c0\u7ec4\u4ef6\uff0c\u4e0e [`uiw`](https://github.com/uiwjs/uiw) \u4e92\u8865\u3002\n\n> \u60a8\u8fd8\u53ef\u4ee5\u4ece\u8fd9\u91cc\u627e\u5230\u66f4\u591a\u7684\u7ec4\u4ef6 [`Awesome React Components`](https://github.com/brillout/awesome-react-components)\u3002\n\n\u7c7b\u578b | \u63a8\u8350\u7ec4\u4ef6\n----|--------\n\u8def\u7531 | [![](https://img.shields.io/github/stars/ReactTraining/react-router.svg?label=react-router)](https://github.com/ReactTraining/react-router) [![](https://img.shields.io/github/stars/reach/router.svg?label=@reach/router)](https://github.com/reach/router) [![](https://img.shields.io/github/stars/frontarm/navi.svg?label=navi)](https://github.com/frontarm/navi)\n\u5e03\u5c40 | [![](https://img.shields.io/github/stars/rebassjs/grid.svg?label=@rebass/grid)](https://github.com/rebassjs/grid) [![](https://img.shields.io/github/stars/whoisandy/react-blocks.svg?label=react-blocks)](https://github.com/whoisandy/react-blocks) [![](https://img.shields.io/github/stars/roylee0704/react-flexbox-grid.svg?label=react-flexbox-grid)](https://github.com/roylee0704/react-flexbox-grid)\n\u62d6\u62fd | [![](https://img.shields.io/github/stars/atlassian/react-beautiful-dnd.svg?label=react-beautiful-dnd)](https://github.com/atlassian/react-beautiful-dnd) [![](https://img.shields.io/github/stars/gaearon/react-dnd.svg?label=react-dnd)](https://github.com/gaearon/react-dnd) [![](https://img.shields.io/github/stars/mzabriskie/react-draggable.svg?label=react-draggable)](https://github.com/mzabriskie/react-draggable) [![](https://img.shields.io/github/stars/clauderic/react-sortable-hoc.svg?label=react-sortable-hoc)](https://github.com/clauderic/react-sortable-hoc)\n\u4ee3\u7801\u7f16\u8f91\u5668 | [![](https://img.shields.io/github/stars/uiwjs/react-codemirror.svg?label=react-codemirror)](https://github.com/uiwjs/react-codemirror) [![](https://img.shields.io/github/stars/jaywcjlove/react-monacoeditor.svg?label=react-monacoeditor)](https://github.com/jaywcjlove/react-monacoeditor)\n\u5bcc\u6587\u672c\u7f16\u8f91\u5668 | [![](https://img.shields.io/github/stars/facebook/draft-js.svg?label=draft-js)](https://github.com/facebook/draft-js) [![](https://img.shields.io/github/stars/zenoamaro/react-quill.svg?label=react-quill)](https://github.com/zenoamaro/react-quill) [![](https://img.shields.io/github/stars/jpuri/react-draft-wysiwyg.svg?label=react-draft-wysiwyg)](https://github.com/jpuri/react-draft-wysiwyg) [![](https://img.shields.io/github/stars/leejaen/react-lz-editor.svg?label=react-lz-editor)](https://github.com/leejaen/react-lz-editor) [![](https://img.shields.io/github/stars/margox/braft-editor.svg?label=braft-editor)](https://github.com/margox/braft-editor) [![](https://img.shields.io/github/stars/ProseMirror/prosemirror.svg?label=ProseMirror)](https://github.com/ProseMirror/prosemirror) [![](https://img.shields.io/github/stars/ckeditor/ckeditor5.svg?label=ckeditor5)](https://github.com/ckeditor/ckeditor5) [![](https://img.shields.io/github/stars/codex-team/editor.js.svg?label=editor.js)](https://github.com/codex-team/editor.js) [![](https://img.shields.io/github/stars/facebook/lexical.svg?label=lexical)](https://github.com/facebook/lexical)\n\u62fe\u8272\u5668 | [![](https://img.shields.io/github/stars/casesandberg/react-color.svg?label=react-color)](https://github.com/casesandberg/react-color) [![react-colorful](https://img.shields.io/github/stars/omgovich/react-colorful.svg?label=react-colorful)](https://github.com/omgovich/react-colorful) [![react-color](https://img.shields.io/github/stars/uiwjs/react-color.svg?label=react-color)](https://github.com/uiwjs/react-color)\n\u54cd\u5e94\u5f0f | [![](https://img.shields.io/github/stars/contra/react-responsive.svg?label=react-responsive)](https://github.com/contra/react-responsive) [![](https://img.shields.io/github/stars/ReactTraining/react-media.svg?label=react-media)](https://github.com/ReactTraining/react-media)\n\u590d\u5236\u5230\u526a\u8d34\u677f | [![](https://img.shields.io/github/stars/nkbt/react-copy-to-clipboard.svg?label=react-copy-to-clipboard)](https://github.com/nkbt/react-copy-to-clipboard)\n\u9875\u9762 meta \u5c5e\u6027 | [![](https://img.shields.io/github/stars/nfl/react-helmet.svg?label=react-helmet)](https://github.com/nfl/react-helmet) [![](https://img.shields.io/github/stars/gaearon/react-document-title.svg?label=react-document-title)](https://github.com/gaearon/react-document-title)\n\u65e5\u5386 | [![](https://img.shields.io/github/stars/gpbl/react-day-picker.svg?label=react-day-picker)](https://github.com/gpbl/react-day-picker)\n\u65f6\u95f4 | [![](https://img.shields.io/github/stars/xx45/dayjs.svg?label=dayjs)](https://github.com/xx45/dayjs) [![](https://img.shields.io/github/stars/date-fns/date-fns.svg?label=date-fns)](https://github.com/date-fns/date-fns) [![](https://img.shields.io/github/stars/sbstjn/timesheet.js.svg?label=timesheet)](https://github.com/sbstjn/timesheet.js) [![](https://img.shields.io/github/stars/moment/luxon.svg?label=luxon)](https://github.com/moment/luxon) [![](https://img.shields.io/github/stars/hustcc/timeago.js.svg?label=timeago.js)](https://github.com/hustcc/timeago.js) [![](https://img.shields.io/github/stars/moment/moment-timezone.svg?label=moment-timezone)](https://github.com/moment/moment-timezone) [![](https://img.shields.io/github/stars/moment/moment.svg?label=moment)](https://github.com/moment/moment) [![](https://img.shields.io/github/stars/zeit/ms.svg?label=ms)](https://github.com/zeit/ms)\n\u83dc\u5355 | [![](https://img.shields.io/github/stars/vkbansal/react-contextmenu.svg?label=react-contextmenu)](https://github.com/vkbansal/react-contextmenu)\n\u8868\u5355\u9a8c\u8bc1 | [![](https://img.shields.io/github/stars/chriso/validator.js.svg?label=validator.js)](https://github.com/chriso/validator.js) [![](https://img.shields.io/github/stars/rickharrison/validate.js.svg?label=validate.js)](https://github.com/rickharrison/validate.js)\n\u56fe\u6807 | [![](https://img.shields.io/github/stars/uiwjs/icons.svg?label=uiw-iconfont)](https://github.com/uiwjs/icons) [![](https://img.shields.io/github/stars/gorangajic/react-icons.svg?label=react-icons)](https://github.com/gorangajic/react-icons)\n\u4e0a\u4f20 | [![](https://img.shields.io/github/stars/transloadit/uppy.svg?label=uppy)](https://github.com/transloadit/uppy) [![](https://img.shields.io/github/stars/pqina/filepond.svg?label=filepond)](https://github.com/pqina/filepond)\n\u4e8c\u7ef4\u7801 | [![](https://img.shields.io/github/stars/zpao/qrcode.react.svg?label=qrcode.react)](https://github.com/zpao/qrcode.react) [![](https://img.shields.io/github/stars/CPunisher/react-qrbtf.svg?label=react-qrbtf)](https://github.com/CPunisher/react-qrbtf)\n\u53ef\u89c6\u5316\u56fe\u8868 | [![](https://img.shields.io/github/stars/alibaba/BizCharts.svg?label=BizCharts)](https://github.com/alibaba/BizCharts) [![](https://img.shields.io/github/stars/frappe/charts.svg?label=charts)](https://github.com/frappe/charts) [![](https://img.shields.io/github/stars/uber/react-vis.svg?label=react-vis)](https://github.com/uber/react-vis) [![](https://img.shields.io/github/stars/antvis/g2-react.svg?label=g2-react)](https://github.com/antvis/g2-react) [![](https://img.shields.io/github/stars/antvis/g2.svg?label=g2)](https://github.com/antvis/g2) [![](https://img.shields.io/github/stars/recharts/recharts.svg?label=recharts)](https://github.com/recharts/recharts/) [![](https://img.shields.io/github/stars/FormidableLabs/victory.svg?label=victory)](https://github.com/FormidableLabs/victory)\n\u53ef\u89c6\u5316\u56fe\u7f16\u8f91\u5668 | [![](https://img.shields.io/github/stars/gaoli/GGEditor.svg?label=GGEditor)](https://github.com/gaoli/GGEditor)\n\u9876\u90e8\u8fdb\u5ea6\u6761 | [![](https://img.shields.io/github/stars/rstacruz/nprogress.svg?label=nprogress)](https://github.com/rstacruz/nprogress)\n\u5e94\u7528\u56fd\u9645\u5316 | [![](https://img.shields.io/github/stars/yahoo/react-intl.svg?label=react-intl)](https://github.com/yahoo/react-intl)\n\u4ee3\u7801\u9ad8\u4eae | [![](https://img.shields.io/github/stars/react-syntax-highlighter/react-syntax-highlighter.svg?label=react-syntax-highlighter)](https://github.com/react-syntax-highlighter/react-syntax-highlighter) [![](https://img.shields.io/github/stars/uiwjs/react-prismjs.svg?label=react-prismjs)](https://github.com/uiwjs/react-prismjs)\nMarkdown \u6e32\u67d3 | [![](https://img.shields.io/github/stars/probablyup/markdown-to-jsx.svg?label=markdown-to-jsx)](https://github.com/probablyup/markdown-to-jsx) [![](https://img.shields.io/github/stars/rexxars/react-markdown.svg?label=react-markdown)](https://github.com/rexxars/react-markdown)\n\u65e0\u9650\u6eda\u52a8\u8868\u683c | [![](https://img.shields.io/github/stars/bvaughn/react-virtualized.svg?label=react-virtualized)](https://github.com/bvaughn/react-virtualized)\n\u5730\u56fe | [![](https://img.shields.io/github/stars/tomchentw/react-google-maps.svg?label=react-google-maps)](https://github.com/tomchentw/react-google-maps) [![](https://img.shields.io/github/stars/istarkov/google-map-react.svg?label=google-map-react)](https://github.com/istarkov/google-map-react) [![](https://img.shields.io/github/stars/ElemeFE/react-amap.svg?label=react-amap\u9ad8\u5fb7)](https://github.com/ElemeFE/react-amap)\nEmoji | [![](https://img.shields.io/github/stars/missive/emoji-mart.svg?label=emoji-mart)](https://github.com/missive/emoji-mart)\n\u53f3\u952e\u83dc\u5355 | [![](https://img.shields.io/github/stars/vkbansal/react-contextmenu.svg?label=react-contextmenu)](https://github.com/vkbansal/react-contextmenu/) [![](https://img.shields.io/github/stars/fkhadra/react-contexify.svg?label=react-contexify)](https://github.com/fkhadra/react-contexify)\n\u63d0\u793a | [![](https://img.shields.io/github/stars/atomiks/tippyjs.svg?label=tippyjs)](https://github.com/atomiks/tippyjs) [![](https://img.shields.io/github/stars/FezVrasta/popper.js.svg?label=popper.js)](https://github.com/FezVrasta/popper.js)\n\u5feb\u6377\u952e | [![](https://img.shields.io/github/stars/jaywcjlove/hotkeys.svg?label=hotkeys.js)](https://github.com/jaywcjlove/hotkeys) [![](https://img.shields.io/github/stars/jaywcjlove/react-hotkeys.svg?label=react-hotkeys)](https://github.com/jaywcjlove/react-hotkeys)\n\u5206\u5272\u9762\u677f | [![](https://img.shields.io/github/stars/tomkp/react-split-pane.svg?label=react-split-pane)](https://github.com/tomkp/react-split-pane)\n\u56fe\u7247\u88c1\u5207 | [![](https://img.shields.io/github/stars/DominicTobias/react-image-crop.svg?label=react-image-crop)](https://github.com/DominicTobias/react-image-crop)\n\u8d8b\u52bf\u7ebf | [![](https://img.shields.io/github/stars/borisyankov/react-sparklines.svg?label=react-sparklines)](https://github.com/borisyankov/react-sparklines)\n\u5173\u952e\u5b57\u9ad8\u4eae | [![](https://img.shields.io/github/stars/bvaughn/react-highlight-words.svg?label=react-highlight-words)](https://github.com/bvaughn/react-highlight-words)\n\u52a8\u753b | [![](https://img.shields.io/github/stars/react-tools/react-move.svg?label=react-move)](https://github.com/react-tools/react-move) [![](https://img.shields.io/github/stars/react-spring/react-spring.svg?label=react-spring)](https://github.com/react-spring/react-spring) [![](https://img.shields.io/github/stars/animatedjs/animated.svg?label=animated)](https://github.com/animatedjs/animated) [![](https://img.shields.io/github/stars/chenglou/react-motion.svg?label=react-motion)](https://github.com/chenglou/react-motion)\n\u5176\u5b83 | [![react-content-loader](https://img.shields.io/github/stars/danilowoz/react-content-loader.svg?label=react-content-loader)](https://github.com/danilowoz/react-content-loader) [![react-number-format](https://img.shields.io/github/stars/s-yadav/react-number-format.svg?label=react-number-format)](https://github.com/s-yadav/react-number-format)\n",headings:[],headingsList:[]};var a=e(5301),r=e(4760);function o(){return(0,r.jsx)(a.Z,{...i,path:"https://github.com/uiwjs/uiw/tree/master/website/src/routes/guide/recommendation/README.md"})}}}]); //# sourceMappingURL=7779.e2d1bd59.chunk.js.map