Expose defaultCustomizations, it is convenient

This commit is contained in:
Evan Czaplicki 2016-07-20 18:57:00 -07:00
parent b5e7cbc48d
commit 2bb308db87
1 changed files with 5 additions and 2 deletions

View File

@ -6,7 +6,7 @@ module Table exposing
, Sorter, unsortable, increasingBy, decreasingBy , Sorter, unsortable, increasingBy, decreasingBy
, increasingOrDecreasingBy, decreasingOrIncreasingBy , increasingOrDecreasingBy, decreasingOrIncreasingBy
, Config, customConfig , Config, customConfig
, Customizations, HtmlDetails, Status(..) , Customizations, HtmlDetails, Status(..), defaultCustomizations
) )
{-| {-|
@ -49,7 +49,8 @@ is not that crazy.
## Custom Tables ## Custom Tables
@docs Config, customConfig, Customizations, HtmlDetails, Status @docs Config, customConfig, Customizations, HtmlDetails, Status,
defaultCustomizations
-} -}
import Html exposing (Html, Attribute) 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 : Customizations data msg
defaultCustomizations = defaultCustomizations =
{ tableAttrs = [] { tableAttrs = []