mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-11-13 07:48:26 +03:00
Improve casing consistency
This commit is contained in:
parent
9f7cde6799
commit
e1ae0ec2d7
@ -97,11 +97,11 @@ customize =
|
||||
view :
|
||||
List (Attribute route msg)
|
||||
->
|
||||
{ breadcrumbs : BreadCrumbs route
|
||||
{ breadCrumbs : BreadCrumbs route
|
||||
, isCurrentRoute : route -> Bool
|
||||
}
|
||||
-> Html msg
|
||||
view attrs { breadcrumbs, isCurrentRoute } =
|
||||
view attrs { breadCrumbs, isCurrentRoute } =
|
||||
let
|
||||
config =
|
||||
customize attrs
|
||||
@ -135,7 +135,7 @@ view attrs { breadcrumbs, isCurrentRoute } =
|
||||
, aTagAttributes = config.aTagAttributes
|
||||
, label = config.breadCrumbsLabel
|
||||
}
|
||||
breadcrumbs
|
||||
breadCrumbs
|
||||
in
|
||||
case config.extraSubheadContent of
|
||||
[] ->
|
||||
|
@ -71,7 +71,7 @@ example =
|
||||
++ Code.newlineWithIndent 1
|
||||
++ Code.commentInline "See the BreadCrumbs example to more fully customize the main data in the Header"
|
||||
++ Code.recordMultiline
|
||||
[ ( "breadcrumbs"
|
||||
[ ( "breadCrumbs"
|
||||
, Code.newlineWithIndent 2
|
||||
++ Code.fromModule "BreadCrumbs" "init "
|
||||
++ Code.record
|
||||
@ -90,7 +90,7 @@ example =
|
||||
, Heading.h2 [ Heading.plaintext "Example" ]
|
||||
, Header.view
|
||||
(Header.breadCrumbsLabel "header example breadcrumbs" :: attributes)
|
||||
{ breadcrumbs =
|
||||
{ breadCrumbs =
|
||||
BreadCrumbs.init
|
||||
{ id = "page-header"
|
||||
, text = "Page"
|
||||
|
@ -113,7 +113,7 @@ viewHeader currentRoute extraContent =
|
||||
, Header.extraContent extraContent
|
||||
, Header.customPageWidth (Css.px 1400)
|
||||
]
|
||||
{ breadcrumbs = crumbs
|
||||
{ breadCrumbs = crumbs
|
||||
, isCurrentRoute = (==) currentRoute
|
||||
}
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user