auth0-extensions/auth0-sso-dashboard-extension

View on GitHub
client/components/Dashboard/TableCell.jsx

Summary

Maintainability
A
0 mins
Test Coverage
import { Component } from 'react';

class TableCell extends Component {
  shouldComponentUpdate(nextProps) {
    return nextProps.children !== this.props.children;
  }

  render() {
    return <td className={this.props.className||"truncate"}>
        { this.props.children }
      </td>;
  }
}

export default TableCell;