solid-ui-react icon indicating copy to clipboard operation
solid-ui-react copied to clipboard

provide a className for the button

Open michaud opened this issue 3 years ago • 1 comments

https://github.com/inrupt/solid-ui-react/blob/266e75b683b788332aa253690f8bbfc93715c5ff/src/components/logIn/index.tsx#L38

https://github.com/inrupt/solid-ui-react/blob/266e75b683b788332aa253690f8bbfc93715c5ff/src/components/logIn/index.tsx#L79

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}>

michaud avatar Feb 04 '22 12:02 michaud