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

Function AuthContainer

packages/shared/src/components/auth/AuthContainer.tsx:8–17  ·  view source on GitHub ↗
(
  { className, children, ...props }: HTMLAttributes<HTMLDivElement>,
  ref: ForwardedRef<HTMLDivElement>,
)

Source from the content-addressed store, hash-verified

6const Container = classed('div', 'flex flex-col gap-3 self-center mt-6 w-full');
7
8function AuthContainer(
9 { className, children, ...props }: HTMLAttributes<HTMLDivElement>,
10 ref: ForwardedRef<HTMLDivElement>,
11) {
12 return (
13 <Container {...props} ref={ref} className={classNames(className, 'px-6')}>
14 {children}
15 </Container>
16 );
17}
18
19export default forwardRef(AuthContainer);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected