Add a warning instead of making assumptions about children

This commit is contained in:
Tessa Kelly 2021-10-21 16:53:26 -07:00
parent 850c422f1f
commit d041c8d90d

View File

@ -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 =