From 189e0f695ebfe8403a18b22c42f8df2a0231de43 Mon Sep 17 00:00:00 2001 From: Ariful Alam Date: Sun, 20 Mar 2022 01:19:17 +0600 Subject: [PATCH] Make the whole item clickable of details --- src/components/details/index.jsx | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/components/details/index.jsx b/src/components/details/index.jsx index 4f4c6b5..a2e808f 100644 --- a/src/components/details/index.jsx +++ b/src/components/details/index.jsx @@ -18,7 +18,12 @@ import config from '../../ezprofile.config'; const ListItem = ({ icon, title, value, link, skeleton = false }) => { return ( -
+ {icon}
{title}
{ skeleton ? 'flex-grow' : '' } text-sm font-normal text-right mr-2 ml-3 ${link ? 'truncate' : ''}`} > - {value} - +
- + ); };