react-json-table
                                
                                 react-json-table copied to clipboard
                                
                                    react-json-table copied to clipboard
                            
                            
                            
                        Key not added to header class
Using the key as a workaround to style a column works, but only for <td> table cells.
Documentation say that it will also get applied to the <th> header cells.
Could you give more details on what you trying to do, are you referring to cellClass, rowClass and headerClass settings?
Using this value for columns: [{ key: 'amount' }]
Renders <td class="jsonCell jsonCell_amount" ...> for the cells but just <th class="jsonColumn" ...> for the header
I did find a workaround through settings by passing headerClass a function (_, key) => key
I think thats the only option, but you raise a good point. I will add this to my https://github.com/agracio/ts-react-json-table fork.