Fixing code formatting issues in DataTable components.

feature/appm-store/pbac
Menaka Jayawardena 7 years ago
parent a37cdbdbdd
commit 73e820b78e

@ -54,18 +54,12 @@ class DataTable extends Component {
this.scriptId = "data-table"
};
/**
* Triggers when user click on table row.
* This method invokes the parent method handleRowClick, which is passed via props.
* */
render() {
return (
<div className="data-table">
{this.props.children}
</div>
)
}
}

@ -56,10 +56,6 @@ class DataTableHeader extends Component {
}
render() {
/*margin-top: 30px
* margin-bottom: 10px
* */
return (
<Row className="data-table-header">
{this.props.headers.map(header => {

@ -44,7 +44,6 @@ class HeaderCell extends Component {
componentWillUnmount() {
Theme.removeThemingScripts(this.scriptId);
}
/**
@ -56,10 +55,6 @@ class HeaderCell extends Component {
}
render() {
/*margin-top: 30px
* margin-bottom: 10px
* */
return (
<Row className="data-table-header">
{this.props.headers.map(header => {

Loading…
Cancel
Save