Initial commit: site monorepo with API, web, and infra.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import type { InputHTMLAttributes, PropsWithChildren } from "react";
|
||||
|
||||
type AuthSwitchProps = InputHTMLAttributes<HTMLInputElement> & PropsWithChildren;
|
||||
|
||||
export function AuthSwitch({ children, ...props }: AuthSwitchProps): JSX.Element {
|
||||
return (
|
||||
<label className="z-login-remember">
|
||||
<input type="checkbox" {...props} />
|
||||
<span>{children}</span>
|
||||
</label>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user