refactor: rename CellLink to ClickableCell

This commit is contained in:
Sammy Teillet
2023-04-19 12:24:25 +02:00
parent 3696bf2617
commit 5962140656
2 changed files with 9 additions and 9 deletions

View File

@ -0,0 +1,15 @@
import * as React from 'react';
import { Link } from 'react-router-dom';
type OwnProps = {
name: string;
picture?: string;
href: string;
children?: React.ReactNode;
};
function ClickableCell({ href, children }: OwnProps) {
return <Link to={href}>{children}</Link>;
}
export default ClickableCell;