react-data-table-component icon indicating copy to clipboard operation
react-data-table-component copied to clipboard

Selector type only return Primitve type but one can return a JSX element instead

Open mjfura opened this issue 1 year ago • 0 comments

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.

mjfura avatar Sep 14 '24 13:09 mjfura