Track HiveGrid Cloud planning reference
This commit is contained in:
1 parent
b3d5ea6764
commit
e341c5938a
5784 files changed
+1104929
-3
No files matched your search
@@ -0,0 +1,17 @@
|
||||
import { RowValueRangeDto } from "~/application/dtos/entities/RowValueRangeDto";
|
||||
import RowDateCell from "./RowDateCell";
|
||||
import { DateFormatType } from "~/utils/shared/DateUtils";
|
||||
|
||||
interface Props {
|
||||
value: RowValueRangeDto;
|
||||
format?: DateFormatType;
|
||||
}
|
||||
export default function RowRangeDateCell({ value, format }: Props) {
|
||||
return (
|
||||
<div className="flex items-center space-x-1">
|
||||
<RowDateCell value={value?.dateMin ?? undefined} format={format} />
|
||||
<div className="text-muted-foreground">-</div>
|
||||
<RowDateCell value={value?.dateMax ?? undefined} format={format} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user