Merge pull request #27 from NoRedInk/rename-to-class

Rename to class
This commit is contained in:
Christoph Hermann 2018-03-30 16:10:03 +02:00 committed by GitHub
commit 21b69d4a3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 9 deletions

View File

@ -1,8 +1,8 @@
module Nri.Ui.SegmentedControl.V3 exposing (Config, CssClasses, Icon, Option, styles, view)
module Nri.Ui.SegmentedControl.V3 exposing (Config, CssClass, Icon, Option, styles, view)
{-|
@docs Config, Icon, Option, styles, view, CssClasses
@docs Config, Icon, Option, styles, view, CssClass
-}
@ -77,7 +77,7 @@ viewIcon assets icon =
{-| Classes for styling
-}
type CssClasses
type CssClass
= SegmentedControl
| Tab
| IconContainer
@ -85,7 +85,7 @@ type CssClasses
{-| -}
styles : Nri.Ui.Styles.V1.Styles Never CssClasses msg
styles : Nri.Ui.Styles.V1.Styles Never CssClass msg
styles =
Nri.Ui.Styles.V1.styles "Nri-Ui-SegmentedControl-V3-"
[ Css.Foreign.class SegmentedControl

View File

@ -1,8 +1,8 @@
module Nri.Ui.SegmentedControl.V4 exposing (Config, CssClasses, Icon, Option, styles, view)
module Nri.Ui.SegmentedControl.V4 exposing (Config, CssClass, Icon, Option, styles, view)
{-|
@docs Config, Icon, Option, styles, view, CssClasses
@docs Config, Icon, Option, styles, view, CssClass
-}
@ -77,7 +77,7 @@ viewIcon icon =
{-| Classes for styling
-}
type CssClasses
type CssClass
= SegmentedControl
| Tab
| IconContainer
@ -85,9 +85,9 @@ type CssClasses
{-| -}
styles : Nri.Ui.Styles.V1.Styles Never CssClasses msg
styles : Nri.Ui.Styles.V1.Styles Never CssClass msg
styles =
Nri.Ui.Styles.V1.styles "Nri-Ui-SegmentedControl-V3-"
Nri.Ui.Styles.V1.styles "Nri-Ui-SegmentedControl-V4-"
[ Css.Foreign.class SegmentedControl
[ FlexBox.displayFlex
, cursor pointer