mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-12 08:25:44 +01:00
13 lines
265 B
TypeScript
13 lines
265 B
TypeScript
|
|
import React, { FC, ReactNode } from "react";
|
||
|
|
import { ColumnProps } from "./types";
|
||
|
|
|
||
|
|
type Props = ColumnProps & {
|
||
|
|
children: (row: any) => ReactNode;
|
||
|
|
};
|
||
|
|
|
||
|
|
const Column: FC<Props> = ({ row, children }) => {
|
||
|
|
return <>{children(row)}</>;
|
||
|
|
};
|
||
|
|
|
||
|
|
export default Column;
|