MCPcopy Create free account
hub / github.com/adobe/react-spectrum / isBlogSection

Function isBlogSection

packages/dev/docs/src/Layout.js:183–185  ·  view source on GitHub ↗
(section)

Source from the content-addressed store, hash-verified

181}
182
183function isBlogSection(section) {
184 return section === 'blog';
185}
186
187function Page({children, currentPage, publicUrl, styles, scripts, pathToPage}) {
188 let parts = currentPage.name.split('/');

Callers 1

Layout.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected