Merge pull request #236 from NoRedInk/av/doc-fixes-2

Some type aliases weren't exposed, resulting in no docs for the config types
This commit is contained in:
Aaron VonderHaar 2019-03-20 10:44:40 -07:00 committed by GitHub
commit b5dff84db7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 6 deletions

View File

@ -1,5 +1,6 @@
module Nri.Ui.ClickableText.V1 exposing module Nri.Ui.ClickableText.V1 exposing
( button, link ( ButtonConfig, button
, LinkConfig, link
, Size(..) , Size(..)
) )
@ -18,7 +19,12 @@ HTML `<a>` elements and are created here with `*Link` functions.
# `<button>` creators # `<button>` creators
@docs button, link @docs ButtonConfig, button
# `<a>` creators
@docs LinkConfig, link
# Config # Config

View File

@ -1,6 +1,9 @@
module Nri.Ui.Icon.V4 exposing module Nri.Ui.Icon.V4 exposing
( icon, decorativeIcon, link, linkExternal, linkSpa, button ( icon, decorativeIcon
, IconType, IconSize(..), IconLinkSpaModel , IconType, IconSize(..)
, IconLinkModel, link, linkExternal
, IconButtonModel, button
, IconLinkSpaModel, linkSpa
, activity , activity
, add , add
, arrowDown , arrowDown
@ -91,8 +94,11 @@ module Nri.Ui.Icon.V4 exposing
{-| {-|
@docs icon, decorativeIcon, link, linkExternal, linkSpa, button @docs icon, decorativeIcon
@docs IconType, IconSize, IconLinkSpaModel @docs IconType, IconSize
@docs IconLinkModel, link, linkExternal
@docs IconButtonModel, button
@docs IconLinkSpaModel, linkSpa
@docs activity @docs activity
@docs add @docs add
@docs arrowDown @docs arrowDown
@ -217,6 +223,7 @@ type alias IconLinkSpaModel route =
} }
{-| -}
type alias IconButtonModel msg = type alias IconButtonModel msg =
{ alt : String { alt : String
, msg : msg , msg : msg