Sha256: f7452539d5da7076243cd99c92f2f6a072336d7d08028c37a8a266be5ac05e08
Contents?: true
Size: 771 Bytes
Versions: 189
Compression:
Stored size: 771 Bytes
Contents
import React from 'react' import Timestamp from '../_timestamp.jsx' const todaysDate = new Date() const year = new Date().getFullYear() const month = new Date().getMonth() const date = new Date().getDate() const hours = new Date().getHours() - 10 const minutes = new Date().getMinutes() const customDate = new Date(year, month, date, hours, minutes) const TimestampElapsed = (props) => { return ( <div> <Timestamp showUser text="Maricris Nonato" timestamp={todaysDate} variant="elapsed" {...props} /> <br /> <Timestamp showUser={false} timestamp={customDate} variant="elapsed" {...props} /> </div> ) } export default TimestampElapsed
Version data entries
189 entries across 189 versions & 1 rubygems