add props
This commit is contained in:
@@ -13,7 +13,9 @@ function Profile () {
|
|||||||
image: ProfileIcon,
|
image: ProfileIcon,
|
||||||
value: 'Passport',
|
value: 'Passport',
|
||||||
property: 'Document type',
|
property: 'Document type',
|
||||||
status: 'Progress'
|
status: 'Progress',
|
||||||
|
transactions: '0x7234ABC342342352345',
|
||||||
|
validatedData: '7234ABC342342352345'
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
@@ -44,6 +46,8 @@ function Profile () {
|
|||||||
value={data.value}
|
value={data.value}
|
||||||
property={data.property}
|
property={data.property}
|
||||||
status={data.status}
|
status={data.status}
|
||||||
|
transactions={data.transactions}
|
||||||
|
validatedData={data.validatedData}
|
||||||
/>
|
/>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
@@ -119,15 +119,15 @@ function ProfileTableItem(props) {
|
|||||||
</div>
|
</div>
|
||||||
<h3 className="pl-9 whitespace-nowrap">
|
<h3 className="pl-9 whitespace-nowrap">
|
||||||
<span className="text-validateLg font-bold text-slate-800">Validate by </span>
|
<span className="text-validateLg font-bold text-slate-800">Validate by </span>
|
||||||
<span className="font-bold text-validateLg underline text-indigo-500">0x7324ABC342342352345</span>
|
<a href="" className="font-bold text-validateLg underline text-indigo-500">{props.transactions}</a>
|
||||||
</h3>
|
</h3>
|
||||||
</div>
|
</div>
|
||||||
<div className="pl-9">
|
<div className="pl-9">
|
||||||
<a href="" className="w-[396px] text-slate-800 font-semibold text-base underline">0x7324ABC342342352345</a>
|
<a href="" className="w-[396px] text-slate-800 font-semibold text-base underline">{props.transactions}</a>
|
||||||
<span className="block text-xxs font-normal mb-1">Transactions ID</span>
|
<span className="block text-xxs font-normal mb-1">Transactions ID</span>
|
||||||
</div>
|
</div>
|
||||||
<div className="pl-9">
|
<div className="pl-9">
|
||||||
<a href="" className="w-[396px] text-slate-800 font-semibold text-base underline">7324ABC342342352345</a>
|
<a href="" className="w-[396px] text-slate-800 font-semibold text-base underline">{props.validatedData}</a>
|
||||||
<span className="block text-xxs font-normal mb-1">Validated data</span>
|
<span className="block text-xxs font-normal mb-1">Validated data</span>
|
||||||
</div>
|
</div>
|
||||||
<div className="pl-9 pt-[14px]">
|
<div className="pl-9 pt-[14px]">
|
||||||
@@ -146,15 +146,15 @@ function ProfileTableItem(props) {
|
|||||||
</div>
|
</div>
|
||||||
<h3 className="pl-9 whitespace-nowrap">
|
<h3 className="pl-9 whitespace-nowrap">
|
||||||
<span className="text-validateLg font-bold text-slate-800">Validate by </span>
|
<span className="text-validateLg font-bold text-slate-800">Validate by </span>
|
||||||
<span className="font-bold text-validateLg underline text-indigo-500">0x7324ABC342342352345</span>
|
<a href="" className="font-bold text-validateLg underline text-indigo-500">{props.transactions}</a>
|
||||||
</h3>
|
</h3>
|
||||||
</div>
|
</div>
|
||||||
<div className="pl-9">
|
<div className="pl-9">
|
||||||
<a href="" className="w-[396px] text-slate-800 font-semibold text-base underline">0x7324ABC342342352345</a>
|
<a href="" className="w-[396px] text-slate-800 font-semibold text-base underline">{props.transactions}</a>
|
||||||
<span className="block text-xxs font-normal mb-1">Transactions ID</span>
|
<span className="block text-xxs font-normal mb-1">Transactions ID</span>
|
||||||
</div>
|
</div>
|
||||||
<div className="pl-9">
|
<div className="pl-9">
|
||||||
<a href="" className="w-[396px] text-slate-800 font-semibold text-base underline">7324ABC342342352345</a>
|
<a href="" className="w-[396px] text-slate-800 font-semibold text-base underline">{props.validatedData}</a>
|
||||||
<span className="block text-xxs font-normal mb-1">Validated data</span>
|
<span className="block text-xxs font-normal mb-1">Validated data</span>
|
||||||
</div>
|
</div>
|
||||||
<div className="pl-9 pt-[14px]">
|
<div className="pl-9 pt-[14px]">
|
||||||
|
|||||||
Reference in New Issue
Block a user