({ children, ...props })
| 1 | import { useClerk } from '@clerk/nextjs' |
| 2 | |
| 3 | export const SignInButton = ({ children, ...props }) => { |
| 4 | const { openSignIn } = useClerk() |
| 5 | return ( |
| 6 | <button {...props} onClick={() => openSignIn()}> |
| 7 | {children} |
| 8 | </button> |
| 9 | ) |
| 10 | } |
| 11 | |
| 12 | export const SignUpButton = ({ children, ...props }) => { |
| 13 | const { openSignUp } = useClerk() |
nothing calls this directly
no outgoing calls
no test coverage detected