add new folder for tanstak-table

This commit is contained in:
smanylov
2026-02-20 12:52:18 +07:00
parent 13d68f93d9
commit a3ea25c1e6
2 changed files with 39 additions and 1 deletions
@@ -407,6 +407,44 @@ export default function TanstakFilesTable({ fileType }: { fileType: string }) {
<span className="table-item-status">
{row.original.status}
</span>
{/* <DropDownList
value={typeFilter}
translatedValue={
(() => {
switch (typeFilter) {
case 'image':
return t('images')
case 'video':
return t('videos')
case 'audio':
return t('audios')
case 'document':
return t('documents')
default:
return t('all-types')
}
})()
}
callBack={setTypeFilter}
>
<li value="all">
{t('all-types')}
</li>
<li value="image">
{t('images-few')}
</li>
<li value="video">
{t('videos')}
</li>
<li value="audio">
{t('audios')}
</li>
{!referralLink && (
<li value="document">
{t('documents')}
</li>
)}
</DropDownList> */}
</div>
)
},
+1 -1
View File
@@ -1,4 +1,4 @@
import TanstakFilesTable from '@/app/components/TanstakTable';
import TanstakFilesTable from '@/app/components/tanstak-table/TanstakTable';
type FilesTable = {
fileType: string