MCPcopy Create free account
hub / github.com/Olanetsoft/article-idea-generator / SMSForm

Function SMSForm

components/qr-code/forms/BasicForms.tsx:79–100  ·  view source on GitHub ↗
({ data, updateField, t }: FormProps)

Source from the content-addressed store, hash-verified

77 label={t("tools.qrCode.phoneLabel")}
78 value={(data.phone as string) || ""}
79 onChange={(v: string) => updateField("phone", v)}
80 placeholder={t("tools.qrCode.phonePlaceholder")}
81 type="tel"
82 name="phone"
83 autoComplete="tel"
84 inputMode="tel"
85 required
86 />
87 );
88}
89
90export function SMSForm({ data, updateField, t }: FormProps) {
91 return (
92 <div className="space-y-4">
93 <InputField
94 label={t("tools.qrCode.smsPhone")}
95 value={(data.phone as string) || ""}
96 onChange={(v: string) => updateField("phone", v)}
97 placeholder={t("tools.qrCode.phonePlaceholder")}
98 type="tel"
99 name="phone"
100 autoComplete="tel"
101 inputMode="tel"
102 required
103 />

Callers

nothing calls this directly

Calls 1

tFunction · 0.85

Tested by

no test coverage detected