mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-20 04:01:40 +03:00
Merge pull request #825 from NoRedInk/tessa/fix-missing-to-id
Expose spriteIdToString
This commit is contained in:
commit
1b24aa10e1
2
elm.json
2
elm.json
@ -3,7 +3,7 @@
|
|||||||
"name": "NoRedInk/noredink-ui",
|
"name": "NoRedInk/noredink-ui",
|
||||||
"summary": "UI Widgets we use at NRI",
|
"summary": "UI Widgets we use at NRI",
|
||||||
"license": "BSD-3-Clause",
|
"license": "BSD-3-Clause",
|
||||||
"version": "15.5.0",
|
"version": "15.6.0",
|
||||||
"exposed-modules": [
|
"exposed-modules": [
|
||||||
"Nri.Ui",
|
"Nri.Ui",
|
||||||
"Nri.Ui.Accordion.V1",
|
"Nri.Ui.Accordion.V1",
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
module Nri.Ui.Sprite.V1 exposing
|
module Nri.Ui.Sprite.V1 exposing
|
||||||
( Sprite, attach
|
( Sprite, attach
|
||||||
, SpriteId, use
|
, SpriteId, use, spriteIdToString
|
||||||
, bold, italic, underline, list, link, undo, redo
|
, bold, italic, underline, list, link, undo, redo
|
||||||
)
|
)
|
||||||
|
|
||||||
{-|
|
{-|
|
||||||
|
|
||||||
@docs Sprite, attach
|
@docs Sprite, attach
|
||||||
@docs SpriteId, use
|
@docs SpriteId, use, spriteIdToString
|
||||||
@docs bold, italic, underline, list, link, undo, redo
|
@docs bold, italic, underline, list, link, undo, redo
|
||||||
|
|
||||||
-}
|
-}
|
||||||
@ -33,6 +33,7 @@ type SpriteId
|
|||||||
= SpriteId String
|
= SpriteId String
|
||||||
|
|
||||||
|
|
||||||
|
{-| -}
|
||||||
spriteIdToString : SpriteId -> String
|
spriteIdToString : SpriteId -> String
|
||||||
spriteIdToString (SpriteId id_) =
|
spriteIdToString (SpriteId id_) =
|
||||||
id_
|
id_
|
||||||
|
Loading…
Reference in New Issue
Block a user