MCPcopy Create free account
hub / github.com/dailydotdev/apps / AuthForm

Function AuthForm

packages/shared/src/components/auth/AuthForm.tsx:5–18  ·  view source on GitHub ↗
(
  { children, className, ...props }: FormHTMLAttributes<HTMLFormElement>,
  ref: ForwardedRef<HTMLFormElement>,
)

Source from the content-addressed store, hash-verified

3import React, { forwardRef } from 'react';
4
5function AuthForm(
6 { children, className, ...props }: FormHTMLAttributes<HTMLFormElement>,
7 ref: ForwardedRef<HTMLFormElement>,
8): ReactElement {
9 return (
10 <form
11 {...props}
12 ref={ref}
13 className={classNames('flex flex-col', className)}
14 >
15 {children}
16 </form>
17 );
18}
19
20export default forwardRef(AuthForm);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected