Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 14 additions & 7 deletions src/pages/tools/image/generic/qr-code/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -365,15 +365,17 @@ export default function QRCodeGenerator({ title }: ToolComponentProps) {
<TextFieldWithDesc
value={values.vCardName}
onOwnChange={(val) => updateField('vCardName', val)}
description="Full Name"
label="Full Name"
InputLabelProps={{ shrink: true }}
inputProps={{
placeholder: 'John Doe'
}}
/>
<TextFieldWithDesc
value={values.vCardEmail}
onOwnChange={(val) => updateField('vCardEmail', val)}
description="Email"
label="Email"
InputLabelProps={{ shrink: true }}
inputProps={{
placeholder: 'john@example.com',
type: 'email'
Expand All @@ -382,7 +384,8 @@ export default function QRCodeGenerator({ title }: ToolComponentProps) {
<TextFieldWithDesc
value={values.vCardPhone}
onOwnChange={(val) => updateField('vCardPhone', val)}
description="Phone"
label="Phone"
InputLabelProps={{ shrink: true }}
inputProps={{
placeholder: '+1234567890',
type: 'tel'
Expand All @@ -391,31 +394,35 @@ export default function QRCodeGenerator({ title }: ToolComponentProps) {
<TextFieldWithDesc
value={values.vCardAddress}
onOwnChange={(val) => updateField('vCardAddress', val)}
description="Address"
label="Address"
InputLabelProps={{ shrink: true }}
inputProps={{
placeholder: '123 Main St, City, Country'
}}
/>
<TextFieldWithDesc
value={values.vCardCompany}
onOwnChange={(val) => updateField('vCardCompany', val)}
description="Company (optional)"
label="Company (optional)"
InputLabelProps={{ shrink: true }}
inputProps={{
placeholder: 'Company name'
}}
/>
<TextFieldWithDesc
value={values.vCardTitle}
onOwnChange={(val) => updateField('vCardTitle', val)}
description="Job Title (optional)"
label="Job Title (optional)"
InputLabelProps={{ shrink: true }}
inputProps={{
placeholder: 'Software Developer'
}}
/>
<TextFieldWithDesc
value={values.vCardWebsite}
onOwnChange={(val) => updateField('vCardWebsite', val)}
description="Website (optional)"
label="Website (optional)"
InputLabelProps={{ shrink: true }}
inputProps={{
placeholder: 'https://example.com'
}}
Expand Down