mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-05 12:22:45 +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:()=>d,frontMatter:()=>n,metadata:()=>e,assets:()=>u,toc:()=>i,contentTitle:()=>p});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":"Ramazan Sancar","lastUpdatedAt":1738687417000,"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),c=o(80980);let n={sidebar_custom_props:{prop:"custom",number:1,boolean:!0}},p="Doc with Custom Props",u={},i=[];function a(t){let s={h1:"h1",header:"header",p:"p",...(0,c.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 d(t={}){let{wrapper:s}={...(0,c.a)(),...t.components};return s?(0,r.jsx)(s,{...t,children:(0,r.jsx)(a,{...t})}):a(t)}d.displayName="MDXContent(_dogfooding/_docs tests/tests/custom-props/doc-with-custom-props.mdx)"},80980:function(t,s,o){o.d(s,{Z:()=>p,a:()=>n});var e=o(67294);let r={},c=e.createContext(r);function n(t){let 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)}}}]); |