1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-19 21:46:43 -04:00

Convert Table to TypeScript

This commit is contained in:
Mark McDowall
2025-01-06 16:48:33 -08:00
parent 0fdeb05663
commit 699120a8fd
57 changed files with 959 additions and 1239 deletions
+3 -1
View File
@@ -2,6 +2,7 @@ import React, { useEffect } from 'react';
import { useDispatch, useSelector } from 'react-redux';
import Alert from 'Components/Alert';
import LoadingIndicator from 'Components/Loading/LoadingIndicator';
import Column from 'Components/Table/Column';
import Table from 'Components/Table/Table';
import TableBody from 'Components/Table/TableBody';
import { kinds } from 'Helpers/Props';
@@ -10,7 +11,7 @@ import createRootFoldersSelector from 'Store/Selectors/createRootFoldersSelector
import translate from 'Utilities/String/translate';
import RootFolderRow from './RootFolderRow';
const rootFolderColumns = [
const rootFolderColumns: Column[] = [
{
name: 'path',
label: () => translate('Path'),
@@ -28,6 +29,7 @@ const rootFolderColumns = [
},
{
name: 'actions',
label: '',
isVisible: true,
},
];