mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-03 04:07:32 +02:00
1 line
No EOL
2.3 KiB
JavaScript
1 line
No EOL
2.3 KiB
JavaScript
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["59902"],{32042:function(t,e,s){s.r(e),s.d(e,{metadata:()=>n,toc:()=>p,contentTitle:()=>d,default:()=>m,assets:()=>a,DocPropsList:()=>u,frontMatter:()=>i});var n=JSON.parse('{"id":"tests/custom-props/index","title":"Custom Props","description":"","source":"@site/_dogfooding/_docs tests/tests/custom-props/index.mdx","sourceDirName":"tests/custom-props","slug":"/tests/custom-props/","permalink":"/tests/docs/tests/custom-props/","draft":false,"unlisted":false,"tags":[],"version":"current","lastUpdatedBy":"S\xe9bastien Lorber","lastUpdatedAt":1729847735000,"frontMatter":{},"sidebar":"sidebar","previous":{"title":"Sample doc","permalink":"/tests/docs/tests/category-links/with-readme-doc/sample-doc"},"next":{"title":"Doc with Custom Props","permalink":"/tests/docs/tests/custom-props/doc-with-custom-props"}}'),o=s("24246"),r=s("80980"),c=s("34134");let i={},d="Custom Props",a={},u=({items:t})=>(0,o.jsxs)("table",{children:[(0,o.jsxs)("tr",{children:[(0,o.jsx)("th",{children:"Doc Page"}),(0,o.jsx)("th",{children:"Custom Props"})]}),t.map((t,e)=>(0,o.jsxs)("tr",{children:[(0,o.jsx)("td",{children:t.label}),(0,o.jsx)("td",{children:JSON.stringify(t.customProps)})]},e))]}),p=[];function l(t){let e={h1:"h1",header:"header",...(0,r.a)(),...t.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(e.header,{children:(0,o.jsx)(e.h1,{id:"custom-props",children:"Custom Props"})}),"\n","\n","\n",(0,o.jsx)(u,{items:(0,c.jA)().items})]})}function m(t={}){let{wrapper:e}={...(0,r.a)(),...t.components};return e?(0,o.jsx)(e,{...t,children:(0,o.jsx)(l,{...t})}):l(t)}m.displayName="MDXContent(_dogfooding/_docs tests/tests/custom-props/index.mdx)"},34134:function(t,e,s){function n(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return s(90158).jA(...e)}s.d(e,{jA:function(){return n}}),s(8156)},80980:function(t,e,s){s.d(e,{Z:function(){return i},a:function(){return c}});var n=s(27378);let o={},r=n.createContext(o);function c(t){let e=n.useContext(r);return n.useMemo(function(){return"function"==typeof t?t(e):{...e,...t}},[e,t])}function i(t){let e;return e=t.disableParentContext?"function"==typeof t.components?t.components(o):t.components||o:c(t.components),n.createElement(r.Provider,{value:e},t.children)}}}]); |