docusaurus/assets/js/ddd8d528.dd4e8905.js

1 line
No EOL
2 KiB
JavaScript

"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[87638],{57969:(t,s,e)=>{e.r(s),e.d(s,{DocPropsList:()=>a,assets:()=>d,contentTitle:()=>i,default:()=>m,frontMatter:()=>c,metadata:()=>u,toc:()=>p});var o=e(24246),r=e(71670),n=e(41876);const c={},i="Custom Props",u={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:"/docusaurus/tests/docs/tests/custom-props/",draft:!1,unlisted:!1,tags:[],version:"current",lastUpdatedBy:"S\xe9bastien Lorber",lastUpdatedAt:1716210613e3,frontMatter:{},sidebar:"sidebar",previous:{title:"Sample doc",permalink:"/docusaurus/tests/docs/tests/category-links/with-readme-doc/sample-doc"},next:{title:"Doc with Custom Props",permalink:"/docusaurus/tests/docs/tests/custom-props/doc-with-custom-props"}},d={},a=({items:t})=>{const s={table:"table",td:"td",th:"th",tr:"tr",...(0,r.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)))]})},p=[];function l(t){const s={h1:"h1",...(0,r.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,n.jA)().items})]})}function m(t={}){const{wrapper:s}={...(0,r.a)(),...t.components};return s?(0,o.jsx)(s,{...t,children:(0,o.jsx)(l,{...t})}):l(t)}},71670:(t,s,e)=>{e.d(s,{Z:()=>i,a:()=>c});var o=e(27378);const r={},n=o.createContext(r);function c(t){const s=o.useContext(n);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(r):t.components||r:c(t.components),o.createElement(n.Provider,{value:s},t.children)}}}]);