mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-25 06:33:09 +03:00
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:
commit
b5dff84db7
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user