mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-15 21:24:46 -04:00
17 lines
358 B
TypeScript
17 lines
358 B
TypeScript
import React from 'react';
|
|
|
|
type PropertyFunction<T> = () => T;
|
|
|
|
// TODO: Convert to generic so `name` can be a type
|
|
interface Column {
|
|
name: string;
|
|
label: string | PropertyFunction<string> | React.ReactNode;
|
|
className?: string;
|
|
columnLabel?: string;
|
|
isSortable?: boolean;
|
|
isVisible: boolean;
|
|
isModifiable?: boolean;
|
|
}
|
|
|
|
export default Column;
|