React Table - radio input for useRowSelect
问题 How can I use radio inputs instead of checkboxes for a selectable table in React Table? There is an example for checkboxes but not radio buttons: https://github.com/tannerlinsley/react-table/blob/master/examples/row-selection/src/App.js Changing the IndeterminateCheckox to use a radio input doesn't work as the selection state is not updated in React Table: const IndeterminateCheckbox = React.forwardRef(({ indeterminate, ...rest }, ref) => { const defaultRef = React.useRef(); const resolvedRef