compose-richtext
compose-richtext copied to clipboard
RichText should be unopinionated about layout
It currently wraps children in a Column
, but now that Arrangement.spacedBy
exists, there's no need to do that. Not wrapping in a column allows long documents to be rendered using LazyColumn
, for example.
Related, maybe RichTextStyle
shouldn't include block spacing at all, although I think it still might be useful for lists and stuff.