removed unused props
This commit is contained in:
parent
7e0acf00bd
commit
c00a0ecff1
@ -1,14 +1,12 @@
|
||||
import React from 'react'
|
||||
import IconButton from '../../components/common/IconButton';
|
||||
import React from "react";
|
||||
import IconButton from "../../components/common/IconButton";
|
||||
|
||||
|
||||
const DirectoryListTableHeader = ( {children, IsActive} ) =>
|
||||
{
|
||||
const DirectoryListTableHeader = ({ children }) => {
|
||||
return (
|
||||
<div className="table-responsive text-nowrap py-2">
|
||||
<table className="table px-2">
|
||||
<thead>
|
||||
<tr>
|
||||
<tr>
|
||||
<th colSpan={2}>
|
||||
<div className="d-flex align-items-center gap-1">
|
||||
<span>Name</span>
|
||||
@ -25,13 +23,10 @@ const DirectoryListTableHeader = ( {children, IsActive} ) =>
|
||||
</div>
|
||||
</th>
|
||||
<th colSpan={2} className="mx-2 ps-20">
|
||||
|
||||
|
||||
Organization
|
||||
|
||||
Organization
|
||||
</th>
|
||||
<th className="mx-2">Category</th>
|
||||
{IsActive && <th>Action</th>}
|
||||
<th>Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody className="table-border-bottom-0 overflow-auto">
|
||||
@ -41,4 +36,4 @@ const DirectoryListTableHeader = ( {children, IsActive} ) =>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
export default DirectoryListTableHeader;
|
||||
export default DirectoryListTableHeader;
|
||||
|
Loading…
x
Reference in New Issue
Block a user