import React from 'react';
import {FormattedDate, FormattedTime} from "react-intl";

type FormattedDateTimeProps = {
    value: string | number | Date;
};

export default function FormattedDateTime({value}: FormattedDateTimeProps) {
    return <>
        <FormattedDate value={value}/> / <FormattedTime value={value}/>
    </>
}