Pass in optional moderation to FeedCard

This commit is contained in:
Eric Bailey
2024-07-24 10:32:17 -05:00
parent 3cad9507ec
commit 0f337c8cf1
+2
View File
@@ -5,6 +5,7 @@ import {
AppBskyFeedDefs,
AppBskyGraphDefs,
AtUri,
ModerationDecision,
RichText as RichTextApi,
} from '@atproto/api'
import {msg, plural, Trans} from '@lingui/macro'
@@ -35,6 +36,7 @@ import {Text} from '#/components/Typography'
type Props = {
view: AppBskyFeedDefs.GeneratorView
moderation?: ModerationDecision
}
export function Default(props: Props) {