File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -318,6 +318,7 @@ type alias ConfigBuilder row msg =
318318-}
319319type alias OptionsBuilder row msg =
320320 { newOptions : Options row msg
321+ , withCustomizations : Customizations row msg -> Options row msg -> Options row msg
321322 , withRefresh : List ( Attribute ( Msg msg)) -> Options row msg -> Options row msg
322323 , withStorage : StorageOptionsConfig msg -> Options row msg -> Options row msg
323324 , withFilter : FilterOptionsType row msg -> Options row msg -> Options row msg
@@ -341,6 +342,7 @@ buildConfig =
341342buildOptions : OptionsBuilder row msg
342343buildOptions =
343344 { newOptions = defaultOptions
345+ , withCustomizations = \ opt -> \ state -> { state | customizations = opt }
344346 , withRefresh = \ opt -> \ state -> { state | refresh = RefreshButtonOptions opt }
345347 , withStorage = \ opt -> \ state -> { state | storage = StorageOptions opt }
346348 , withFilter = \ opt -> \ state -> { state | filter = FilterOptions opt }
You can’t perform that action at this time.
0 commit comments