I wanted to be able to pass some other props to my cell without creating a custom cell component, namely I just wanted to add a cypress tag but the cell just renders the value:
Other things we might want to pass could be some accessibility tags as well, such as aria-label, etc, so might be worthwhile to have the component take everything passed to it.
I wanted to be able to pass some other props to my cell without creating a custom cell component, namely I just wanted to add a cypress tag but the cell just renders the value:
Right now the default cell component only takes a few defined props: https://github.com/LaunchPadLab/lp-components/blob/master/src/tables/components/table-row.js#L13
Other things we might want to pass could be some accessibility tags as well, such as aria-label, etc, so might be worthwhile to have the component take everything passed to it.