Sha256: c15a48addeb2a2e52b4fb45bbb4309e6be4131214cd1f2fbe35fba071e89d7f7

Contents?: true

Size: 1.06 KB

Versions: 1313

Compression:

Stored size: 1.06 KB

Contents

![collapsible-sizes](https://github.com/powerhome/playbook/assets/54749071/557bfe16-26e4-4966-9f1c-689a2dc44412)

```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(iconSize: .xSmall, text: "Extra Small Section")
            CollapsibleDoc(iconSize: .small, text: "Small Section")
            CollapsibleDoc(text: "Default Section")
            CollapsibleDoc(iconSize: .large, text: "Large Section")
          }
      } content: {
       Text(lorem).pbFont(.body)
      }

```

Version data entries

1,313 entries across 1,313 versions & 2 rubygems

Version Path
playbook_ui-13.19.0.pre.alpha.PBNTR207tabledivsupport2261 app/pb_kits/playbook/pb_collapsible/docs/_collapsible_sizes_swift.md
playbook_ui_docs-13.19.0.pre.alpha.PBNTR207tabledivsupport2245 app/pb_kits/playbook/pb_collapsible/docs/_collapsible_sizes_swift.md
playbook_ui-13.19.0.pre.alpha.PBNTR207tabledivsupport2245 app/pb_kits/playbook/pb_collapsible/docs/_collapsible_sizes_swift.md
playbook_ui_docs-13.19.0 app/pb_kits/playbook/pb_collapsible/docs/_collapsible_sizes_swift.md
playbook_ui-13.19.0 app/pb_kits/playbook/pb_collapsible/docs/_collapsible_sizes_swift.md
playbook_ui_docs-13.18.0.pre.alpha.thor93bargraphoptions2219 app/pb_kits/playbook/pb_collapsible/docs/_collapsible_sizes_swift.md
playbook_ui-13.18.0.pre.alpha.thor93bargraphoptions2219 app/pb_kits/playbook/pb_collapsible/docs/_collapsible_sizes_swift.md
playbook_ui_docs-13.18.0.pre.alpha.thor93bargraphoptions2211 app/pb_kits/playbook/pb_collapsible/docs/_collapsible_sizes_swift.md
playbook_ui-13.18.0.pre.alpha.thor93bargraphoptions2211 app/pb_kits/playbook/pb_collapsible/docs/_collapsible_sizes_swift.md
playbook_ui_docs-13.18.0.pre.alpha.play1141iconkitusinglibrary2210 app/pb_kits/playbook/pb_collapsible/docs/_collapsible_sizes_swift.md
playbook_ui-13.18.0.pre.alpha.play1141iconkitusinglibrary2210 app/pb_kits/playbook/pb_collapsible/docs/_collapsible_sizes_swift.md
playbook_ui_docs-13.18.0.pre.alpha.PLAY12062203 app/pb_kits/playbook/pb_collapsible/docs/_collapsible_sizes_swift.md
playbook_ui-13.18.0.pre.alpha.PLAY12062203 app/pb_kits/playbook/pb_collapsible/docs/_collapsible_sizes_swift.md
playbook_ui_docs-13.18.0.pre.alpha.powercentrainplaybookpt22201 app/pb_kits/playbook/pb_collapsible/docs/_collapsible_sizes_swift.md
playbook_ui-13.18.0.pre.alpha.powercentrainplaybookpt22201 app/pb_kits/playbook/pb_collapsible/docs/_collapsible_sizes_swift.md
playbook_ui_docs-13.18.0.pre.alpha.PLAY8672199 app/pb_kits/playbook/pb_collapsible/docs/_collapsible_sizes_swift.md
playbook_ui-13.18.0.pre.alpha.PLAY8672199 app/pb_kits/playbook/pb_collapsible/docs/_collapsible_sizes_swift.md
playbook_ui_docs-13.18.0.pre.alpha.PBNTR191AdvancedTableFinalFixes2197 app/pb_kits/playbook/pb_collapsible/docs/_collapsible_sizes_swift.md
playbook_ui-13.18.0.pre.alpha.PBNTR191AdvancedTableFinalFixes2197 app/pb_kits/playbook/pb_collapsible/docs/_collapsible_sizes_swift.md
playbook_ui_docs-13.18.0.pre.alpha.dependabotnpmandyarnreactrouterdom62212196 app/pb_kits/playbook/pb_collapsible/docs/_collapsible_sizes_swift.md