about summary refs log tree commit diff
path: root/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/components')
-rw-r--r--src/components/ListCard.tsx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/ListCard.tsx b/src/components/ListCard.tsx
index ed5838fb0..9061648e0 100644
--- a/src/components/ListCard.tsx
+++ b/src/components/ListCard.tsx
@@ -26,6 +26,7 @@ import {
 import {Link as InternalLink, LinkProps} from '#/components/Link'
 import * as Hider from '#/components/moderation/Hider'
 import {Text} from '#/components/Typography'
+import {ButtonProps} from './Button'
 
 /*
  * This component is based on `FeedCard` and is tightly coupled with that
@@ -48,7 +49,7 @@ const MODLIST = 'app.bsky.graph.defs#modlist'
 type Props = {
   view: AppBskyGraphDefs.ListView
   showPinButton?: boolean
-}
+} & Omit<LinkProps, 'to' | 'label' | 'children'>
 
 export function Default(props: Props) {
   const {view, showPinButton} = props
@@ -82,7 +83,7 @@ export function Link({
   view,
   children,
   ...props
-}: Props & Omit<LinkProps, 'to' | 'label'>) {
+}: Props & Pick<ButtonProps, 'children'>) {
   const queryClient = useQueryClient()
 
   const href = React.useMemo(() => {