ds.compact-text
is a component with title and body. You can also add child
components(as seen in below example) to ds.compact-text
-- ds.compact-text: Support `fastn`!
-- ds.compact-text.body:
Enjoying `fastn`? Please consider giving us a star ⭐️ on
[GitHub](https://github.com/fastn-stack/fastn) to show your support!
Using `ds.compact-text.inner` property you can add any component inside it,
like below author-bio.
-- ds.compact-text.inner:
-- ds.author-bio:
author: $author.john-doe
-- end: ds.compact-text.inner
-- end: ds.compact-text
fastn
!Enjoying fastn
? Please consider giving us a star ⭐️ on
GitHub to show your support!
ds.compact-text.inner
property you can add any component inside it, like
below author-bio.compact-text
componenttype: caption
It’s used to add title to compact-text component.type: body
It’s used to add body content to compact-text
component.type: ftd.ui list
It’s used to add to child components to
compact-text component.