Commit 130192d5 authored by Josh Slaughter's avatar Josh Slaughter
Browse files

Adjusting doc string

parent 5ea6bc69
Showing with 2 additions and 0 deletions
+2 -0
......@@ -30,6 +30,8 @@ const setMilliseconds = (timestamp?: number | Long | null): number => {
/**
* Will take a millsecond timestamp in and calculate the timeago for it
* @param date the millisecond timestamp
* @param short (default) will shorten the unit string (day -> d)
* @param live (default) will auto increment based on a given time
* @returns react component representing the timeago
*/
const TimeAgo = ({ short = true, onClick, ...props }: EventTimeProps) => (
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment