VandyHacks/vaken

View on GitHub
plugins/nfc/components/Row.tsx

Summary

Maintainability
A
1 hr
Test Coverage
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);