Skip to content

Conversation

@alexfauquette
Copy link
Member

Export a component to render a section title.

Pages are still responsible for the definition of the translation since they have different approaches. But at least the classes and the DOM structure will be shared.

Not sure about the file position. I hesitated to put this component inside a folder containing small UI components, but did not find a name for it

@alexfauquette alexfauquette added the scope: docs-infra Involves the docs-infra product (https://www.notion.so/mui-org/b9f676062eb94747b6768209f7751305). label May 14, 2024
@mui-bot
Copy link

mui-bot commented May 14, 2024

Netlify deploy preview

https://deploy-preview-42236--material-ui.netlify.app/

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against 7a5a5c7

Copy link
Member

@Janpot Janpot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure about the file position. I hesitated to put this component inside a folder containing small UI components, but did not find a name for it

I'm thinking for the future we can collect them in a single module that contains building blocks for API pages, docs pages and landing pages. e.g. @mui/docs/pages, or @mui/docs/content,... In the meantime this is probably good enough. 👍

@alexfauquette alexfauquette merged commit 3c888ed into mui:next May 15, 2024
@alexfauquette alexfauquette deleted the sync-section-titles branch May 15, 2024 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: docs-infra Involves the docs-infra product (https://www.notion.so/mui-org/b9f676062eb94747b6768209f7751305).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants