@selfcommunity/react-ui
Version:
React UI Components to integrate a Community created with SelfCommunity Platform.
23 lines (22 loc) • 468 B
TypeScript
export interface DateTimeAgoProps {
/**
* Overrides or extends the styles applied to the component.
* @default null
*/
className?: string;
/**
* Date obj
* @default null
*/
date: Date;
/**
* Handles icon showing
* @default true
*/
showStartIcon?: boolean;
/**
* Any other properties
*/
[p: string]: any;
}
export default function DateTimeAgo(props: DateTimeAgoProps): JSX.Element;