-
+
+ {variant === 'default' && (
+
+ )}
{multilineText}
{media && renderMedia(media)}
+ {variant === 'expanded' && (
+ {moment(timestamp).format('h:mm A - D MMM YYYY')}
+ )}
}
details={
@@ -167,19 +184,30 @@ export const Post = ({
)}
>
}
- options={
}
+ options={variant === 'default' &&
}
actions={
isMeowsEnabled && (
-
0}
- />
+
+ 0}
+ />
+ {featureFlags.enableComments && }
+
)
}
/>
);
};
+
+export const Actions = ({ children, variant }: { children: React.ReactNode; variant: Variant }) => {
+ return (
+