Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update <TitlePortal> to allow customization of the the page title style #9171

Merged
merged 2 commits into from
Aug 10, 2023

Conversation

fzaninotto
Copy link
Member

Problem

The <TitlePortal> component fixes the page title style without possibility to customize it.

Solution

Accept extra props

export const MyAppBar = () => (
    <AppBar>
        <TitlePortal variant="body2" component="h3" />
        <SettingsButton />
    </AppBar>
);

Closes #8871

@adguernier adguernier merged commit 3f31239 into next Aug 10, 2023
8 checks passed
@adguernier adguernier deleted the title-portal-props branch August 10, 2023 09:05
@fzaninotto fzaninotto added this to the 4.13.0 milestone Aug 10, 2023
@fzaninotto fzaninotto changed the title Add ability to customize the page title style Add ability to customize the page title style in <TitlePortal> Aug 14, 2023
@fzaninotto fzaninotto changed the title Add ability to customize the page title style in <TitlePortal> Update <TitlePortal> to allow customization of the the page title style Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFR Ready For Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants