mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-03-05 13:40:08 -05:00
(cherry picked from commit d6d90a64a39d3b9d3a95fb6b265517693a70fdd7) (cherry picked from commit 428569106499b5e3a463f1990ae2996d1ae4ab49) (cherry picked from commit d0e9504af0d88391a74e04b90638e4b2d99fb476) (cherry picked from commit ee80564dd427ca1dc14c192955efaa61f386ad44) (cherry picked from commit 76650af9fdc7ef06d13ce252986d21574903d293)
16 lines
336 B
TypeScript
16 lines
336 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;
|
|
columnLabel?: string;
|
|
isSortable?: boolean;
|
|
isVisible: boolean;
|
|
isModifiable?: boolean;
|
|
}
|
|
|
|
export default Column;
|