mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-05 21:27:24 +02:00
1 line
No EOL
1.8 KiB
JavaScript
1 line
No EOL
1.8 KiB
JavaScript
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[32829],{35972:(t,s,o)=>{o.r(s),o.d(s,{assets:()=>u,contentTitle:()=>n,default:()=>d,frontMatter:()=>c,metadata:()=>p,toc:()=>i});var e=o(24246),r=o(71670);const c={sidebar_custom_props:{prop:"custom",number:1,boolean:!0}},n="Doc with Custom Props",p={id:"tests/custom-props/doc-with-custom-props",title:"Doc with Custom Props",description:"This doc has custom props.",source:"@site/_dogfooding/_docs tests/tests/custom-props/doc-with-custom-props.mdx",sourceDirName:"tests/custom-props",slug:"/tests/custom-props/doc-with-custom-props",permalink:"/docusaurus/tests/docs/tests/custom-props/doc-with-custom-props",draft:!1,unlisted:!1,tags:[],version:"current",lastUpdatedBy:"S\xe9bastien Lorber",lastUpdatedAt:1716210613e3,frontMatter:{sidebar_custom_props:{prop:"custom",number:1,boolean:!0}},sidebar:"sidebar",previous:{title:"Custom Props",permalink:"/docusaurus/tests/docs/tests/custom-props/"},next:{title:"Doc Without Custom Props",permalink:"/docusaurus/tests/docs/tests/custom-props/doc-without-custom-props"}},u={},i=[];function a(t){const s={h1:"h1",p:"p",...(0,r.a)(),...t.components};return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(s.h1,{id:"doc-with-custom-props",children:"Doc with Custom Props"}),"\n",(0,e.jsx)(s.p,{children:"This doc has custom props."})]})}function d(t={}){const{wrapper:s}={...(0,r.a)(),...t.components};return s?(0,e.jsx)(s,{...t,children:(0,e.jsx)(a,{...t})}):a(t)}},71670:(t,s,o)=>{o.d(s,{Z:()=>p,a:()=>n});var e=o(27378);const r={},c=e.createContext(r);function n(t){const s=e.useContext(c);return e.useMemo((function(){return"function"==typeof t?t(s):{...s,...t}}),[s,t])}function p(t){let s;return s=t.disableParentContext?"function"==typeof t.components?t.components(r):t.components||r:n(t.components),e.createElement(c.Provider,{value:s},t.children)}}}]); |