docusaurus/assets/js/ddd8d528.558fedaf.js
2024-08-30 06:05:27 +00:00

1 line
No EOL
2.1 KiB
JavaScript

"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[204],{93914:(t,e,s)=>{function o(...t){return s(69615).$S(...t)}s.d(e,{$S:()=>o}),s(99468)},22234:(t,e,s)=>{s.r(e),s.d(e,{DocPropsList:()=>a,assets:()=>p,contentTitle:()=>i,default:()=>m,frontMatter:()=>c,metadata:()=>d,toc:()=>l});var o=s(62540),r=s(43023),n=s(93914);let c={},i="Custom Props",d={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:!1,unlisted:!1,tags:[],version:"current",lastUpdatedBy:"S\xe9bastien Lorber",lastUpdatedAt:1724997746e3,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"}},p={},a=({items:t})=>{let e={table:"table",td:"td",th:"th",tr:"tr",...(0,r.R)()};return(0,o.jsxs)(e.table,{children:[(0,o.jsxs)(e.tr,{children:[(0,o.jsx)(e.th,{children:"Doc Page"}),(0,o.jsx)(e.th,{children:"Custom Props"})]}),t.map((t,s)=>(0,o.jsxs)(e.tr,{children:[(0,o.jsx)(e.td,{children:t.label}),(0,o.jsx)(e.td,{children:JSON.stringify(t.customProps)})]},s))]})},l=[];function u(t){let e={h1:"h1",header:"header",...(0,r.R)(),...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)(a,{items:(0,n.$S)().items})]})}function m(t={}){let{wrapper:e}={...(0,r.R)(),...t.components};return e?(0,o.jsx)(e,{...t,children:(0,o.jsx)(u,{...t})}):u(t)}m.displayName="MDXContent(_dogfooding/_docs tests/tests/custom-props/index.mdx)"},43023:(t,e,s)=>{s.d(e,{R:()=>c,x:()=>i});var o=s(63696);let r={},n=o.createContext(r);function c(t){let e=o.useContext(n);return o.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(r):t.components||r:c(t.components),o.createElement(n.Provider,{value:e},t.children)}}}]);