mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
3197dd484c
* refactor: spreadsheet layout components * refactor: spreadsheet properties * refactor: folder structure * chore: issue property update * chore: spreadsheet layout in the global views * style: quick actions menu * fix: build errors
21 lines
714 B
TypeScript
21 lines
714 B
TypeScript
import React from "react";
|
|
|
|
// types
|
|
import { IIssue } from "types";
|
|
// helper
|
|
import { renderLongDetailDateFormat } from "helpers/date-time.helper";
|
|
|
|
type Props = {
|
|
issue: IIssue;
|
|
};
|
|
|
|
export const CreatedOnColumn: React.FC<Props> = ({ issue }) => (
|
|
<div className="flex items-center text-sm h-11 w-full bg-custom-background-100">
|
|
<span className="flex items-center px-4 py-2.5 h-full w-full flex-shrink-0 border-r border-b border-custom-border-100">
|
|
<div className="flex items-center text-xs cursor-default text-custom-text-200 text-center p-2 group-hover:bg-custom-background-80 border-custom-border-200">
|
|
{renderLongDetailDateFormat(issue.created_at)}
|
|
</div>
|
|
</span>
|
|
</div>
|
|
);
|