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

provide a className for the button #582

Open
michaud opened this issue Feb 4, 2022 · 0 comments
Open

provide a className for the button #582

michaud opened this issue Feb 4, 2022 · 0 comments

Comments

@michaud
Copy link

michaud commented Feb 4, 2022

const { oidcIssuer, redirectUrl, children, authOptions, onError } =

<button type="button" onClick={loginHandler} onKeyDown={keyDownHandler}>

at the moment the button is styled by global styles but most times you would like to be able to customize the button. Passing through the className prop would help with that

const { oidcIssuer, redirectUrl, children, _className,_ authOptions, onError } =

<button _className={ className }_ type="button" onClick={loginHandler} onKeyDown={keyDownHandler}>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant