Hi, I am following https://supertokens.com/docs/thirdparty/common-customizations/sign-in-and-up/cust...
m
Hi, I am following https://supertokens.com/docs/thirdparty/common-customizations/sign-in-and-up/custom-providers As per the doc I added
Copy code
buttonComponent: (props: {name: string}) => <div style={{
                            cursor: "pointer",
                            border: "1",
                            paddingTop: "5px",
                            paddingBottom: "5px",
                            borderRadius: "5px",
                            borderStyle: "solid"
                        }}>{"Login with " + props.name}</div>
But it does not show up on the UI.
The custom button seems to be rendered directly as div and not as button like the "Login with Google"
Is this expected behavior or am I missing something?
r
hey @mavwolverine please ask in the support-question channel