Add Shadow type (#1900)

This commit is contained in:
Paul Frazee
2023-11-14 12:10:39 -08:00
committed by GitHub
parent 00f8c8b06d
commit 8e4a3ad5b6
10 changed files with 54 additions and 21 deletions
+2 -1
View File
@@ -24,6 +24,7 @@ import {
usePostUnrepostMutation,
} from '#/state/queries/post'
import {useComposerControls} from '#/state/shell/composer'
import {Shadow} from '#/state/cache/types'
export function PostCtrls({
big,
@@ -33,7 +34,7 @@ export function PostCtrls({
onPressReply,
}: {
big?: boolean
post: AppBskyFeedDefs.PostView
post: Shadow<AppBskyFeedDefs.PostView>
record: AppBskyFeedPost.Record
style?: StyleProp<ViewStyle>
onPressReply: () => void