From 2bb308db872f954d60d72cdd7fa88a87dc10ad2e Mon Sep 17 00:00:00 2001 From: Evan Czaplicki Date: Wed, 20 Jul 2016 18:57:00 -0700 Subject: [PATCH] Expose defaultCustomizations, it is convenient --- src/Table.elm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/Table.elm b/src/Table.elm index b556da8..2a051ec 100644 --- a/src/Table.elm +++ b/src/Table.elm @@ -6,7 +6,7 @@ module Table exposing , Sorter, unsortable, increasingBy, decreasingBy , increasingOrDecreasingBy, decreasingOrIncreasingBy , Config, customConfig - , Customizations, HtmlDetails, Status(..) + , Customizations, HtmlDetails, Status(..), defaultCustomizations ) {-| @@ -49,7 +49,8 @@ is not that crazy. ## Custom Tables -@docs Config, customConfig, Customizations, HtmlDetails, Status +@docs Config, customConfig, Customizations, HtmlDetails, Status, + defaultCustomizations -} import Html exposing (Html, Attribute) @@ -198,6 +199,8 @@ type alias HtmlDetails msg = } +{-| The customizations used in `config` by default. +-} defaultCustomizations : Customizations data msg defaultCustomizations = { tableAttrs = []