docusaurus/assets/js/ddd8d528.1c4dcdbf.js
2024-07-01 15:38:32 +00:00

1 line
No EOL
2 KiB
JavaScript

"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[87638],{78319:(t,s,e)=>{e.r(s),e.d(s,{DocPropsList:()=>a,assets:()=>p,contentTitle:()=>i,default:()=>l,frontMatter:()=>c,metadata:()=>d,toc:()=>u});var o=e(24246),n=e(71670),r=e(41876);const 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:171984808e4,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})=>{const s={table:"table",td:"td",th:"th",tr:"tr",...(0,n.a)()};return(0,o.jsxs)(s.table,{children:[(0,o.jsxs)(s.tr,{children:[(0,o.jsx)(s.th,{children:"Doc Page"}),(0,o.jsx)(s.th,{children:"Custom Props"})]}),t.map(((t,e)=>(0,o.jsxs)(s.tr,{children:[(0,o.jsx)(s.td,{children:t.label}),(0,o.jsx)(s.td,{children:JSON.stringify(t.customProps)})]},e)))]})},u=[];function m(t){const s={h1:"h1",...(0,n.a)(),...t.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s.h1,{id:"custom-props",children:"Custom Props"}),"\n","\n","\n",(0,o.jsx)(a,{items:(0,r.jA)().items})]})}function l(t={}){const{wrapper:s}={...(0,n.a)(),...t.components};return s?(0,o.jsx)(s,{...t,children:(0,o.jsx)(m,{...t})}):m(t)}l.displayName="MDXContent(_dogfooding/_docs tests/tests/custom-props/index.mdx)"},71670:(t,s,e)=>{e.d(s,{Z:()=>i,a:()=>c});var o=e(27378);const n={},r=o.createContext(n);function c(t){const s=o.useContext(r);return o.useMemo((function(){return"function"==typeof t?t(s):{...s,...t}}),[s,t])}function i(t){let s;return s=t.disableParentContext?"function"==typeof t.components?t.components(n):t.components||n:c(t.components),o.createElement(r.Provider,{value:s},t.children)}}}]);