Skip to content

[SignInPage] Add "rememberMe" slot - #4487

Merged
bharatkashyap merged 6 commits into
mui:masterfrom
bharatkashyap:core/remember-me-slot
Dec 6, 2024
Merged

[SignInPage] Add "rememberMe" slot#4487
bharatkashyap merged 6 commits into
mui:masterfrom
bharatkashyap:core/remember-me-slot

Conversation

@bharatkashyap

@bharatkashyap bharatkashyap commented Nov 28, 2024

Copy link
Copy Markdown
Collaborator

@bharatkashyap bharatkashyap added the type: enhancement It’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature. label Nov 28, 2024

@apedroferreira apedroferreira left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM!

@bharatkashyap
bharatkashyap merged commit bba11ae into mui:master Dec 6, 2024
@wongtszchiu

Copy link
Copy Markdown

@bharatkashyap How to hide the rememberMe, if I dont need it?
thanks

@bharatkashyap

bharatkashyap commented Dec 17, 2024

Copy link
Copy Markdown
Collaborator Author

@bharatkashyap How to hide the rememberMe, if I dont need it? thanks

Pass in a component which returns null to the rememberMe slot:

  <SignInPage      
       slots={{          
         rememberMe: () => null,
       }}
    />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: enhancement It’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[SignInPage] Add "Remember Me" as slot

3 participants