Skip to content

Commit 24acb72

Browse files
committed
viewCsvExportButton now takes CsvExportOptions instead of Model as argument
1 parent 7ec66cd commit 24acb72

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Rudder/Table.elm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -910,9 +910,9 @@ viewCsvExportButtonOption option =
910910

911911
{-| View for the CSV export button in case the button should be displayed outside of the table
912912
-}
913-
viewCsvExportButton : Model row msg -> Html (Msg msg)
914-
viewCsvExportButton (Model model) =
915-
viewCsvExportButtonOption model.options.csvExport
913+
viewCsvExportButton : CsvExportOptions row msg -> Html (Msg msg)
914+
viewCsvExportButton options =
915+
viewCsvExportButtonOption options
916916

917917

918918
tableHeader : NonEmptyList.Nonempty (Column row msg) -> Sort a -> (ColumnName -> List (Attribute msg)) -> Html (Msg msg)

0 commit comments

Comments
 (0)