mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-11-28 01:45:20 +03:00
Add a warning instead of making assumptions about children
This commit is contained in:
parent
850c422f1f
commit
d041c8d90d
@ -8,7 +8,6 @@ module Nri.Ui.Container.V2 exposing
|
||||
{-| TODO before publish:
|
||||
|
||||
- add remaining attributes to styleguide
|
||||
- fix markdown extra-margins (if possible)
|
||||
- adds optional default spacing?
|
||||
- document changes from V1 (e.g., how to upgrade from V1)
|
||||
|
||||
@ -290,6 +289,10 @@ plaintext content =
|
||||
|
||||
|
||||
{-| Provide a string that will be rendered as markdown.
|
||||
|
||||
Note that you may need to remove extra margin added by default
|
||||
to `p` tags by user agents.
|
||||
|
||||
-}
|
||||
markdown : String -> Attribute msg
|
||||
markdown content =
|
||||
|
Loading…
Reference in New Issue
Block a user