Paragraph SwiftUI - admiral-team/admiralui-ios GitHub Wiki
Struct
A group of text components exists in several variants.
Declaration
public struct ParagraphView: View
Overview
A group of text components exists in several variants
ParagraphView
with leading alignment and check image:
Configure a ParagraphView(
title: "Title",
paragraphImageType: .check,
textAligment: .leading,
paragraphStyle: .primary
)
ParagraphView
with leading alignment and point image:
Configure a ParagraphView(
title: "Title",
paragraphImageType: .point,
textAligment: .leading,
paragraphStyle: .secondary
)
ParagraphView
with leading alignment:
Configure a ParagraphView(
title: "Title",
textAligment: .leading,
paragraphStyle: .primary
)
ParagraphView
with center alignment:
Configure a ParagraphView(
title: "Title",
textAligment: .center,
paragraphStyle: .secondary
)
ParagraphView
with center alignment and custom trailing image:
Configure a ParagraphView(
title: "Title",
trailingImage: Image("Your image"),
textAligment: .center,
paragraphStyle: .secondary
)
Contribution
You can help us to find bugs or ask us to add features.
- To start
issue
please use ready-made templates. - To make changes to the repository, you need to create a
fork
of the project, make changes to the code and create apull request
in our project. You can read more about this in the Github documentation.