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

[SignInPage] Add "rememberMe" slot #4487

Merged
merged 6 commits into from
Dec 6, 2024

Conversation

bharatkashyap
Copy link
Member

@bharatkashyap bharatkashyap commented Nov 28, 2024

@bharatkashyap bharatkashyap added the enhancement This is not a bug, nor a new feature label Nov 28, 2024
Copy link
Member

@apedroferreira apedroferreira left a comment

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
14 checks passed
@wongtszchiu
Copy link

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

@bharatkashyap
Copy link
Member Author

bharatkashyap commented Dec 17, 2024

@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
enhancement This is not a bug, nor a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[SignInPage] Add "Remember Me" as slot
3 participants