mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-02 10:52:35 +02:00
1 line
No EOL
2 KiB
JavaScript
1 line
No EOL
2 KiB
JavaScript
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["94398"],{59346:function(t,s,o){o.r(s),o.d(s,{default:()=>a,frontMatter:()=>c,metadata:()=>e,assets:()=>u,toc:()=>i,contentTitle:()=>n});var e=JSON.parse('{"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":"/tests/docs/tests/custom-props/doc-with-custom-props","draft":false,"unlisted":false,"tags":[],"version":"current","lastUpdatedBy":"Waldir Pimenta","lastUpdatedAt":1738583885000,"frontMatter":{"sidebar_custom_props":{"prop":"custom","number":1,"boolean":true}},"sidebar":"sidebar","previous":{"title":"Custom Props","permalink":"/tests/docs/tests/custom-props/"},"next":{"title":"Doc Without Custom Props","permalink":"/tests/docs/tests/custom-props/doc-without-custom-props"}}'),r=o(85893),p=o(80980);let c={sidebar_custom_props:{prop:"custom",number:1,boolean:!0}},n="Doc with Custom Props",u={},i=[];function d(t){let s={h1:"h1",header:"header",p:"p",...(0,p.a)(),...t.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.header,{children:(0,r.jsx)(s.h1,{id:"doc-with-custom-props",children:"Doc with Custom Props"})}),"\n",(0,r.jsx)(s.p,{children:"This doc has custom props."})]})}function a(t={}){let{wrapper:s}={...(0,p.a)(),...t.components};return s?(0,r.jsx)(s,{...t,children:(0,r.jsx)(d,{...t})}):d(t)}a.displayName="MDXContent(_dogfooding/_docs tests/tests/custom-props/doc-with-custom-props.mdx)"},80980:function(t,s,o){o.d(s,{Z:()=>n,a:()=>c});var e=o(67294);let r={},p=e.createContext(r);function c(t){let s=e.useContext(p);return e.useMemo(function(){return"function"==typeof t?t(s):{...s,...t}},[s,t])}function n(t){let s;return s=t.disableParentContext?"function"==typeof t.components?t.components(r):t.components||r:c(t.components),e.createElement(p.Provider,{value:s},t.children)}}}]); |