File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ export type BlogListProps = {
5858 subtitle ?: ReactNode ;
5959 featured ?: boolean ;
6060 interactive ?: boolean ;
61- hideDocLayoutChrome ?: boolean ;
61+ hideDocLayoutSidebarAndOutline ?: boolean ;
6262} ;
6363
6464const DEFAULT_DATE_FORMAT_OPTIONS : Intl . DateTimeFormatOptions = {
@@ -250,7 +250,7 @@ export function BlogList({
250250 subtitle,
251251 featured = true ,
252252 interactive = true ,
253- hideDocLayoutChrome = false ,
253+ hideDocLayoutSidebarAndOutline = true ,
254254} : BlogListProps ) {
255255 if ( posts . length === 0 ) {
256256 return emptyState ? < > { emptyState } </ > : null ;
@@ -319,7 +319,7 @@ export function BlogList({
319319 ) ) }
320320 </ section >
321321 ) : null }
322- { hideDocLayoutChrome ? (
322+ { hideDocLayoutSidebarAndOutline ? (
323323 < style > { `
324324 .rp-doc-layout__sidebar-placeholder { display: none; }
325325 .rp-doc-layout__outline { display: none; }
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ export const BlogListStory = () => (
7474 < BlogList
7575 posts = { posts }
7676 lang = "en"
77- hideDocLayoutChrome
77+ hideDocLayoutSidebarAndOutline
7878 renderInlineMarkdown = { renderInlineMarkdown }
7979 title = "Blog"
8080 subtitle = {
@@ -101,7 +101,7 @@ export const BlogListWithBackgroundStory = () => (
101101 posts = { posts }
102102 lang = "en"
103103 LinkComp = { StoryLink }
104- hideDocLayoutChrome
104+ hideDocLayoutSidebarAndOutline
105105 renderInlineMarkdown = { renderInlineMarkdown }
106106 title = "Blog"
107107 subtitle = {
You can’t perform that action at this time.
0 commit comments