conatinerWidth ==> containerWidth

pull/555/head
ydah 4 months ago
parent fefdb08487
commit 78c12e41fe

@ -22,7 +22,7 @@ Default: `0.01`
Reading the width of elements isn't precise enough and can cause columns to jump between values. 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` Default: `0`
@ -52,7 +52,7 @@ Default: `Shuffle.ALL_ITEMS` (`"all"`)
Initial filter group. Initial filter group.
### `gutterWidth` [number | (conatinerWidth: number) => number] ### `gutterWidth` [number | (containerWidth: number) => number]
Default: `0` Default: `0`

@ -25,7 +25,7 @@ export interface ShuffleOptions {
* A static number or function that returns a number which determines * A static number or function that returns a number which determines
* how wide the columns are (in pixels). * 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 ','. * If your group is not json, and is comma delimited, you could set delimiter to ','.
@ -53,7 +53,7 @@ export interface ShuffleOptions {
* A static number or function that determines how wide the gutters * A static number or function that determines how wide the gutters
* between columns are (in pixels). * 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 * Shuffle can be initialized with a sort object. It is the same object

Loading…
Cancel
Save