Skip to content

Commit

Permalink
conatinerWidth ==> containerWidth
Browse files Browse the repository at this point in the history
  • Loading branch information
ydah committed Feb 6, 2024
1 parent fefdb08 commit 78c12e4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions apps/website/docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Default: `0.01`

Reading the width of elements isn't precise enough and can cause columns to jump between values.

### `columnWidth` [number | (conatinerWidth: number) => number]
### `columnWidth` [number | (containerWidth: number) => number]

Default: `0`

Expand Down Expand Up @@ -52,7 +52,7 @@ Default: `Shuffle.ALL_ITEMS` (`"all"`)

Initial filter group.

### `gutterWidth` [number | (conatinerWidth: number) => number]
### `gutterWidth` [number | (containerWidth: number) => number]

Default: `0`

Expand Down
4 changes: 2 additions & 2 deletions packages/shuffle/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export interface ShuffleOptions {
* A static number or function that returns a number which determines
* how wide the columns are (in pixels).
*/
columnWidth?: number | ((conatinerWidth: number) => number);
columnWidth?: number | ((containerWidth: number) => number);

/**
* If your group is not json, and is comma delimited, you could set delimiter to ','.
Expand Down Expand Up @@ -53,7 +53,7 @@ export interface ShuffleOptions {
* A static number or function that determines how wide the gutters
* between columns are (in pixels).
*/
gutterWidth?: number | ((conatinerWidth: number) => number);
gutterWidth?: number | ((containerWidth: number) => number);

/**
* Shuffle can be initialized with a sort object. It is the same object
Expand Down

0 comments on commit 78c12e4

Please sign in to comment.