saleor-dashboard/src/components/SortableTable/SortableTableRow.tsx
Krzysztof Wolski a82de30309
Add circleci config and enhance our linters (#519)
* Add circleci config

* Season linting config

* Apply code style
2020-05-14 11:30:32 +02:00

16 lines
414 B
TypeScript

import TableRow, { TableRowProps } from "@material-ui/core/TableRow";
import React from "react";
import { SortableElement } from "react-sortable-hoc";
import SortableHandle from "./SortableHandle";
const SortableTableRow = SortableElement<TableRowProps>(
({ children, ...props }) => (
<TableRow {...props}>
<SortableHandle />
{children}
</TableRow>
)
);
export default SortableTableRow;