Sha256: 4a47e5a16903f8305fbd7211f1d88a59ca15b48bf4c7b0439c0c76e9e646322f

Contents?: true

Size: 1.55 KB

Versions: 1262

Compression:

Stored size: 1.55 KB

Contents

### Props
| Name | Type | Description | Default | Values |
| --- | ----------- | --------- | --------- | --------- |
| **Full Width** | `Bool` | Sets Button to full width | `false` | `true` `false` |
| **Variant** | `PBButtonVariant` | Changes the color of the Button | ` .primary` | `.primary` `.secondary` `.link` `.disabled` |
| **Size** | `Size` | Adjusts Button size | `.medium` | `.small` `.medium` `.large` |
| **Shape** | `Shape` | Changes the shape of the Button  | `.primary` | `.primary` `.circle` |
| **Title** | `String` | Sets Button text | `nil` |  |
| **Icon** | `PBIcon` | Adds an icon to the Button | `nil` |  |
| **Icon Position** | `IconPosition` | Adjusts the icon's position | `.left` | `.left` `.right` |
| **Action** | `(() -> Void)` | Adds an action for the Button to perform | `{}` |  |

### Reaction Button Props
| Name | Type | Description | Default | Values |
| --- | ----------- | --------- | --------- | --------- |
| **count** | `Int` | Tracks number of times a reaction button has been pressed | `0` |  |
| **isHighlighted** | `Bool` | Boolean for whether or not a reaction button has a highlight | ` false` | `true` `false` |
| **isHovering** | `Bool` | Boolean for whether or not a mouse is hovering over the reaction button | `false` | `true` `false` |
| **icon** | `String` | Allows user to use a unicode string for an emoji reaction button |  |  |
| **pbIcon** | `PBIcon` | A PlayBook Icon option for reaction button | |  |
| **isInteractive** | `Bool` | Boolean for whether or not a reaction button is interactive | `false` | `true` `false` |

Version data entries

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

Version Path
playbook_ui-14.11.0.pre.rc.17 app/pb_kits/playbook/pb_button/docs/_button_props_swift.md
playbook_ui-14.11.0 app/pb_kits/playbook/pb_button/docs/_button_props_swift.md
playbook_ui_docs-14.11.0.pre.rc.16 app/pb_kits/playbook/pb_button/docs/_button_props_swift.md
playbook_ui-14.11.0.pre.rc.16 app/pb_kits/playbook/pb_button/docs/_button_props_swift.md
playbook_ui_docs-14.10.0.pre.alpha.play16825301 app/pb_kits/playbook/pb_button/docs/_button_props_swift.md
playbook_ui-14.10.0.pre.alpha.play16825301 app/pb_kits/playbook/pb_button/docs/_button_props_swift.md
playbook_ui_docs-14.11.0.pre.rc.15 app/pb_kits/playbook/pb_button/docs/_button_props_swift.md
playbook_ui-14.11.0.pre.rc.15 app/pb_kits/playbook/pb_button/docs/_button_props_swift.md
playbook_ui_docs-14.11.0.pre.rc.14 app/pb_kits/playbook/pb_button/docs/_button_props_swift.md
playbook_ui-14.11.0.pre.rc.14 app/pb_kits/playbook/pb_button/docs/_button_props_swift.md
playbook_ui_docs-14.11.0.pre.rc.13 app/pb_kits/playbook/pb_button/docs/_button_props_swift.md
playbook_ui-14.11.0.pre.rc.13 app/pb_kits/playbook/pb_button/docs/_button_props_swift.md
playbook_ui_docs-14.11.0.pre.rc.12 app/pb_kits/playbook/pb_button/docs/_button_props_swift.md
playbook_ui-14.11.0.pre.rc.12 app/pb_kits/playbook/pb_button/docs/_button_props_swift.md
playbook_ui_docs-14.10.0.pre.alpha.PLAY1774timelinelabelstepspacing5274 app/pb_kits/playbook/pb_button/docs/_button_props_swift.md
playbook_ui-14.10.0.pre.alpha.PLAY1774timelinelabelstepspacing5274 app/pb_kits/playbook/pb_button/docs/_button_props_swift.md
playbook_ui_docs-14.10.0.pre.alpha.play1465attempt25272 app/pb_kits/playbook/pb_button/docs/_button_props_swift.md
playbook_ui-14.10.0.pre.alpha.play1465attempt25272 app/pb_kits/playbook/pb_button/docs/_button_props_swift.md
playbook_ui_docs-14.10.0.pre.alpha.play16825244 app/pb_kits/playbook/pb_button/docs/_button_props_swift.md
playbook_ui-14.10.0.pre.alpha.play16825244 app/pb_kits/playbook/pb_button/docs/_button_props_swift.md