Skip to content

Commit f1b123f

Browse files
committed
fix: viewbuilder types to include icon in component props (#4741)
1 parent 85f8ef9 commit f1b123f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/viewModelBuilders/azul/anvil-cmg/common/viewModelBuilders.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ export const buildDatasetExportToPlatformMethod = ({
624624
...props
625625
}: Pick<
626626
ComponentProps<typeof ExportMethod>,
627-
"description" | "route" | "title"
627+
"description" | "icon" | "route" | "title"
628628
>): ((
629629
response: DatasetsResponse,
630630
viewContext: ViewContext<unknown>
@@ -1066,7 +1066,7 @@ export const buildExportToPlatformHero = (
10661066
export const buildExportToPlatformMethod = (
10671067
props: Pick<
10681068
ComponentProps<typeof ExportMethod>,
1069-
"description" | "route" | "title"
1069+
"description" | "icon" | "route" | "title"
10701070
>
10711071
): ((
10721072
_: unknown,

0 commit comments

Comments
 (0)