Merge pull request #200 from bryannsi/bryannsi/issue187

[Feature] Option to change the value of the header in the Profile section
This commit is contained in:
Amruth Pillai
2020-07-01 10:08:17 +05:30
committed by GitHub
2 changed files with 10 additions and 1 deletions

View File

@ -8,6 +8,15 @@ const ProfileTab = ({ data, onChange }) => {
return (
<div>
<TextField
className="mb-6"
placeholder="Heading"
value={data.profile.heading}
onChange={v => onChange('data.profile.heading', v)}
/>
<hr className="my-6" />
<TextField
className="mb-6"
label={t('profile.photoUrl.label')}

View File

@ -62,7 +62,7 @@ const Castform = () => {
const ContactInformation = () => (
<div>
<Heading title="Contact Information" />
<Heading title={data.profile.heading} />
<Address />
<ContactItem title="Phone" value={data.profile.phone} link={`tel:${data.profile.phone}`} />
<ContactItem