Sha256: 81d6fd95bf317281e13565eea2f16f030531b30ea17e0b23a317f1c45f8aad1c
Contents?: true
Size: 1.22 KB
Versions: 981
Compression:
Stored size: 1.22 KB
Contents
![collapsible-colors](https://github.com/powerhome/playbook/assets/54749071/daafd129-fd0a-4992-8fee-bfa55aed8a23) ```swift let iconSize: PBIcon.IconSize let iconColor: CollapsibleIconColor let text: String @State private var isCollapsed = true let lorem = " Group members... Lorem ipsum dolor sit amet, consectetur adipiscing elit. In vel erat sed purus hendrerit vive. Etiam nunc massa, pharetra vel quam id, posuere rhoncus quam. Quisque imperdiet arcu enim, nec aliquet justo. Praesent lorem arcu. Vivamus suscipit, libero eu fringilla egestas, orci urna commodo arcu, vel gravida turpis. " PBCollapsible(isCollapsed: $isCollapsed, iconSize: iconSize, iconColor: iconColor) { VStack(spacing: Spacing.medium) { CollapsibleDoc(iconColor: .default, text: "Default Section") CollapsibleDoc(iconColor: .light, text: "Light Section") CollapsibleDoc(iconColor: .lighter, text: "Lighter Section") CollapsibleDoc(iconColor: .link, text: "Link Section") CollapsibleDoc(iconColor: .error, text: "Error Section") CollapsibleDoc(iconColor: .success, text: "Success Section") } } content: { Text(lorem).pbFont(.body) } ```
Version data entries
981 entries across 981 versions & 2 rubygems
Version | Path |
---|---|
playbook_ui-13.15.0.pre.alpha.PLAY10831873 | app/pb_kits/playbook/pb_collapsible/docs/_collapsible_colors_swift.md |