Radarr/frontend/src/Components/Table/Column.ts
2023-07-24 11:40:50 +03:00

14 lines
284 B
TypeScript

import React from 'react';
type PropertyFunction<T> = () => T;
interface Column {
name: string;
label: string | PropertyFunction<string> | React.ReactNode;
columnLabel?: string;
isSortable?: boolean;
isVisible: boolean;
isModifiable?: boolean;
}
export default Column;