import { DateTime } from 'luxon'; import * as React from 'react'; import { PostBody, Preview, Tag } from '../../src/posts/post'; import { User } from '../../src/user/user'; import { isDefined } from '../../src/util/types'; import Avatar from './elements/Avatar'; import NameAndData from './elements/NameAndData'; import Share from './elements/Share'; import Tags from './elements/Tags'; export type PostOverviewCardProps = { createdAt: DateTime; createdBy: User; path: string; title: string; preview: Preview; tags: Tag[]; }; export default ({ createdBy, createdAt, title, tags, path, preview }: PostOverviewCardProps) => (
);