MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / EmailField

Function EmailField

apps/web/ui/EmailField/index.tsx:15–38  ·  view source on GitHub ↗
({
  id,
  className,
  label,
  required,
  value,
  defaultValue,
  placeholder,
  onChange,
}: Props)

Source from the content-addressed store, hash-verified

13}
14
15export default function EmailField({
16 id,
17 className,
18 label,
19 required,
20 value,
21 defaultValue,
22 placeholder,
23 onChange,
24}: Props) {
25 return (
26 <TextField
27 id={id}
28 className={className}
29 label={label}
30 required={required}
31 type="email"
32 value={value}
33 defaultValue={defaultValue}
34 placeholder={placeholder}
35 onChange={onChange}
36 />
37 );
38}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected