Sha256: d0804f40bfd0dc2eca2f43cb1666ebdea1e04afc7b451bbe83588032e59809a7

Contents?: true

Size: 1.71 KB

Versions: 1036

Compression:

Stored size: 1.71 KB

Contents

![Date-Range-Inline-Default](https://github.com/powerhome/playbook-swift/assets/54749071/793dc133-b2a8-4283-96e1-c8b19065392d)

```swift
VStack(alignment: .leading, spacing: Spacing.large) {
  VStack(alignment: .leading, spacing: Spacing.small) {
    PBDateRangeInline(
      size: .caption,
      iconSize: .xSmall,
      startDate: "18 Jun 2013",
      endDate: "20 Mar 2015",
      startVariant: .standard
    )
    PBDateRangeInline(
      size: .body, 
      iconSize: .x1,
      startDate: "18 Jun 2013",
      endDate: "20 Mar 2015",
      startVariant: .standard
    )
  }
  .frame(maxWidth: .infinity, alignment: .leading)
  VStack(alignment: .center, spacing: Spacing.small) {
    PBDateRangeInline(
      size: .caption, 
      iconSize: .xSmall,
      startDate: "15 Jan 2013",
      endDate: "15 Aug 2015",
      startVariant: .short(showIcon: true),
      endVariant: .short(showIcon: false)
    )
    PBDateRangeInline(
      size: .body, 
      iconSize: .x1,
      startDate: "15 Jan 2013",
      endDate: "15 Aug 2015",
      startVariant: .short(showIcon: true),
      endVariant: .short(showIcon: false)
    )
  }
  .frame(maxWidth: .infinity, alignment: .center)
  VStack(alignment: .trailing, spacing: Spacing.small) {
    PBDateRangeInline(
      size: .caption, 
      iconSize: .xSmall,
      startDate: "15 Jan 2013",
      endDate: "15 Aug 2015",
      startVariant: .short(showIcon: true),
      endVariant: .short(showIcon: false)
    )
    PBDateRangeInline(
      size: .body, 
      iconSize: .x1,
      startDate: "15 Jan 2013",
      endDate: "15 Aug 2015",
      startVariant: .short(showIcon: true),
      endVariant: .short(showIcon: false)
    )
  }
  .frame(maxWidth: .infinity, alignment: .trailing)
}
```

Version data entries

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

Version Path
playbook_ui_docs-14.11.1.pre.alpha.PLAY1720phonenumberinputformatAsYouType5377 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default_swift.md
playbook_ui-14.11.1.pre.alpha.PLAY1720phonenumberinputformatAsYouType5377 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default_swift.md
playbook_ui_docs-14.11.1.pre.alpha.play17725374 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default_swift.md
playbook_ui-14.11.1.pre.alpha.play17725374 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default_swift.md
playbook_ui_docs-14.11.1.pre.alpha.play17725372 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default_swift.md
playbook_ui-14.11.1.pre.alpha.play17725372 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default_swift.md
playbook_ui_docs-14.12.0.pre.rc.4 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default_swift.md
playbook_ui-14.12.0.pre.rc.4 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default_swift.md
playbook_ui_docs-14.11.1.pre.alpha.hfhbrakemanplaybook5370 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default_swift.md
playbook_ui-14.11.1.pre.alpha.hfhbrakemanplaybook5370 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default_swift.md
playbook_ui_docs-14.11.1.pre.alpha.responsivetablerails5364 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default_swift.md
playbook_ui-14.11.1.pre.alpha.responsivetablerails5364 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default_swift.md
playbook_ui_docs-14.11.1.pre.alpha.responsivetablerails5362 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default_swift.md
playbook_ui-14.11.1.pre.alpha.responsivetablerails5362 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default_swift.md
playbook_ui_docs-14.11.1.pre.alpha.PBNTR769sticky5359 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default_swift.md
playbook_ui-14.11.1.pre.alpha.PBNTR769sticky5359 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default_swift.md
playbook_ui_docs-14.11.1.pre.alpha.PBNTR573datepickerinvestigation5355 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default_swift.md
playbook_ui-14.11.1.pre.alpha.PBNTR573datepickerinvestigation5355 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default_swift.md
playbook_ui_docs-14.11.1.pre.alpha.PLAY1750pbcontenttagkitbutton5341 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default_swift.md
playbook_ui-14.11.1.pre.alpha.PLAY1750pbcontenttagkitbutton5341 app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default_swift.md