File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -51,11 +51,11 @@ type TextProps =
51
51
type TextElement = ReactComponent { children :: Array JSX , className :: String }
52
52
53
53
-- | Inline piece of text whose `content` prop is a `String`. Elements of this
54
- -- | component should preferentially be used only where an inline element is
55
- -- | expected, that is, from within the contents of a block-level element .
54
+ -- | component should preferentially be used only where an inline piece of text
55
+ -- | with no bottom margin is expected .
56
56
-- |
57
- -- | For block-level text elements, please use `paragraph`, `paragraph_`, or the
58
- -- | header components defined in this module.
57
+ -- | For block-level, independent text elements, please use `paragraph`,
58
+ -- | `paragraph_`, or the header components defined in this module.
59
59
text :: LumiComponent TextProps
60
60
text =
61
61
unsafePerformEffect $ lumiComponent " Text" defaults \props -> Hooks .do
You can’t perform that action at this time.
0 commit comments