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
Configure a ParagraphView with leading alignment and check image:
ParagraphView(
title: "Title",
paragraphImageType: .check,
textAligment: .leading,
paragraphStyle: .primary
)
Configure a ParagraphView with leading alignment and point image:
ParagraphView(
title: "Title",
paragraphImageType: .point,
textAligment: .leading,
paragraphStyle: .secondary
)
Configure a ParagraphView with leading alignment:
ParagraphView(
title: "Title",
textAligment: .leading,
paragraphStyle: .primary
)
Configure a ParagraphView with center alignment:
ParagraphView(
title: "Title",
textAligment: .center,
paragraphStyle: .secondary
)
Configure a ParagraphView with center alignment and custom trailing image:
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
issueplease use ready-made templates. - To make changes to the repository, you need to create a
forkof the project, make changes to the code and create apull requestin our project. You can read more about this in the Github documentation.