|
|
@ -144,7 +144,6 @@ const BasicTable = ({ addTab, activeTab }) => { |
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<div className="bg-white p-4"> |
|
|
|
<div className="bg-white p-4"> |
|
|
|
<div className="mb-7 flex flex-row items-center justify-between"> |
|
|
|
<div className="mb-7 flex flex-row items-center justify-between"> |
|
|
|
{/* select View list */} |
|
|
|
|
|
|
|
<div className="flex flex-row items-center gap-x-5"> |
|
|
|
<div className="flex flex-row items-center gap-x-5"> |
|
|
|
<div className="flex flex-row items-center gap-x-2"> |
|
|
|
<div className="flex flex-row items-center gap-x-2"> |
|
|
|
<img |
|
|
|
<img |
|
|
@ -195,7 +194,7 @@ const BasicTable = ({ addTab, activeTab }) => { |
|
|
|
searchIcon={graySearchIcon} |
|
|
|
searchIcon={graySearchIcon} |
|
|
|
bgColor={"bg-transparent"} |
|
|
|
bgColor={"bg-transparent"} |
|
|
|
borderColor={"border-[#EEEEEE]"} |
|
|
|
borderColor={"border-[#EEEEEE]"} |
|
|
|
textColor={"text-[#DBDBDB]"} |
|
|
|
textColor={"text-gray-500"} |
|
|
|
borderRadius={"rounded"} |
|
|
|
borderRadius={"rounded"} |
|
|
|
focusBorder={"focus:border-gray-200"} |
|
|
|
focusBorder={"focus:border-gray-200"} |
|
|
|
focusRing={"focus:ring-gray-200"} |
|
|
|
focusRing={"focus:ring-gray-200"} |
|
|
@ -205,7 +204,7 @@ const BasicTable = ({ addTab, activeTab }) => { |
|
|
|
{/* table LIST */} |
|
|
|
{/* table LIST */} |
|
|
|
{activeTab === 0 ? ( |
|
|
|
{activeTab === 0 ? ( |
|
|
|
<> |
|
|
|
<> |
|
|
|
{activeList === false && ( |
|
|
|
{activeList === true && ( |
|
|
|
// table
|
|
|
|
// table
|
|
|
|
<table |
|
|
|
<table |
|
|
|
{...getTableProps()} |
|
|
|
{...getTableProps()} |
|
|
@ -272,7 +271,7 @@ const BasicTable = ({ addTab, activeTab }) => { |
|
|
|
</table> |
|
|
|
</table> |
|
|
|
)} |
|
|
|
)} |
|
|
|
{/* GRID LIST */} |
|
|
|
{/* GRID LIST */} |
|
|
|
{activeList === true && ( |
|
|
|
{activeList === false && ( |
|
|
|
<div |
|
|
|
<div |
|
|
|
{...getTableBodyProps()} |
|
|
|
{...getTableBodyProps()} |
|
|
|
className="flex flex-row flex-wrap gap-4 items-center justify-center" |
|
|
|
className="flex flex-row flex-wrap gap-4 items-center justify-center" |
|
|
|