mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-01 18:32:52 +02:00
1 line
No EOL
2.2 KiB
JavaScript
1 line
No EOL
2.2 KiB
JavaScript
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["51062"],{94843:function(t,e,s){s.r(e),s.d(e,{frontMatter:()=>n,default:()=>m,contentTitle:()=>i,assets:()=>d,toc:()=>c,metadata:()=>o});var o=JSON.parse('{"id":"tests/sidebar-frontmatter/doc-with-sidebar-custom-props","title":"Doc With Custom Props","description":"This doc has sidebarcustomprops front matter.","source":"@site/_dogfooding/_docs tests/tests/sidebar-frontmatter/doc-with-sidebar-custom-props.mdx","sourceDirName":"tests/sidebar-frontmatter","slug":"/tests/sidebar-frontmatter/doc-with-sidebar-custom-props","permalink":"/tests/docs/tests/sidebar-frontmatter/doc-with-sidebar-custom-props","draft":false,"unlisted":false,"tags":[],"version":"current","lastUpdatedBy":"Balthasar Hofer","lastUpdatedAt":1742205790000,"frontMatter":{"sidebar_custom_props":{"prop":"custom","number":1,"boolean":true}},"sidebar":"sidebar","previous":{"title":"Doc With Sidebar Class Name","permalink":"/tests/docs/tests/sidebar-frontmatter/doc-with-sidebar-className"},"next":{"title":"Doc With Sidebar Label","permalink":"/tests/docs/tests/sidebar-frontmatter/doc-with-sidebar-label"}}'),r=s(85893),a=s(80980);let n={sidebar_custom_props:{prop:"custom",number:1,boolean:!0}},i="Doc With Custom Props",d={},c=[];function p(t){let e={code:"code",h1:"h1",header:"header",p:"p",...(0,a.a)(),...t.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(e.header,{children:(0,r.jsx)(e.h1,{id:"doc-with-custom-props",children:"Doc With Custom Props"})}),"\n",(0,r.jsxs)(e.p,{children:["This doc has ",(0,r.jsx)(e.code,{children:"sidebar_custom_props"})," front matter."]})]})}function m(t={}){let{wrapper:e}={...(0,a.a)(),...t.components};return e?(0,r.jsx)(e,{...t,children:(0,r.jsx)(p,{...t})}):p(t)}m.displayName="MDXContent(_dogfooding/_docs tests/tests/sidebar-frontmatter/doc-with-sidebar-custom-props.mdx)"},80980:function(t,e,s){s.d(e,{Z:()=>i,a:()=>n});var o=s(67294);let r={},a=o.createContext(r);function n(t){let e=o.useContext(a);return o.useMemo(function(){return"function"==typeof t?t(e):{...e,...t}},[e,t])}function i(t){let e;return e=t.disableParentContext?"function"==typeof t.components?t.components(r):t.components||r:n(t.components),o.createElement(a.Provider,{value:e},t.children)}}}]); |