/* @flow */ import React from 'react' import classnames from 'classnames' import DateTime from '../pb_kit/dateTime.js' import { buildAriaProps, buildCss, buildDataProps } from '../utilities/props' import { Body, Caption, Icon, Title } from '../' import { globalProps } from '../utilities/globalProps.js' const dateString = (value: DateTime) => { const month = value.toMonthNum() const day = value.toDay() return ` ยท ${month}/${day}` } type LogisticProps = { aria?: object, className?: string, dark?: boolean, data?: object, date: string, id?: string, link?: string, projectName?: string, projectNumber?: number, } const Logistic = (props: LogisticProps) => { const { aria = {}, className, dark = false, data = {}, date, id, link, projectName, projectNumber } = props const ariaProps = buildAriaProps(aria) const dataProps = buildDataProps(data) const formattedDate = new DateTime({ value: date }) const classes = classnames(buildCss('pb_logistic_kit', { dark: dark }), className, globalProps(props)) return (
) } export default Logistic