react-data-table-component
react-data-table-component copied to clipboard
Selector type only return Primitve type but one can return a JSX element instead
The Selector type just admite one Generic type that is used for the row param, but its return type is a Primitive, that is declared above as string | number | boolean, and i think that either add another Generic Param that will be the return type, or add the JSX Element in Primitive type since it is a return type widely used to return in the selector could fix that problem.