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
( button, link
( ButtonConfig, button
, LinkConfig, link
, Size(..)
)
@ -18,7 +19,12 @@ HTML `<a>` elements and are created here with `*Link` functions.
# `<button>` creators
@docs button, link
@docs ButtonConfig, button
# `<a>` creators
@docs LinkConfig, link
# Config

View File

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