VandyHacks/vaken

View on GitHub
src/client/routes/nfc/Row.tsx

Summary

Maintainability
A
1 hr
Test Coverage
C
71%
import React from 'react';
import { createSelectable } from 'react-selectable-fast';
import { TableRowRenderer, defaultTableRowRenderer } from 'react-virtualized';

export const Row: TableRowRenderer = (props): React.ReactNode => {
    const { rowData } = props;

    return defaultTableRowRenderer({
        ...props,
        key: rowData.id,
    });
};

export default createSelectable(Row);