Skip to content

Commit

Permalink
πŸ“ updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
temmiland committed Apr 17, 2024
1 parent b1efbb1 commit 425580a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ yarn i @tomxpcvx/react-expandable-grid
}) }
expandableElementWidthInPx={ 300 }
fbJustifyContent='space-between'
defaultSelectedIndex={ 0 }
/>
```

Expand All @@ -98,10 +99,11 @@ yarn i @tomxpcvx/react-expandable-grid
| elements | `Array<ExpandableElement>` | The list of expandable elements. | |
| expandableElementWidthInPx | `number` | The width of one expandable element. | `px` |
| fbJustifyContent | `string` | The mode for the CSS property justify-content. | one of: `space-between \| space-around \| space-evenly` |
| defaultSelectedIndex | `number` | Default selection of an element with an index | starts at 0 |

### Notes

#### Default values:
#### Default values

```javascript
fbJustifyContent = 'space-between'
Expand Down

0 comments on commit 425580a

Please sign in to comment.