From 78c12e41fe06c5e008838b152dba0aae25e9750c Mon Sep 17 00:00:00 2001 From: ydah <13041216+ydah@users.noreply.github.com> Date: Tue, 6 Feb 2024 15:32:42 +0900 Subject: [PATCH] conatinerWidth ==> containerWidth --- apps/website/docs/configuration.md | 4 ++-- packages/shuffle/index.d.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/website/docs/configuration.md b/apps/website/docs/configuration.md index 480d3115..5fca68e4 100644 --- a/apps/website/docs/configuration.md +++ b/apps/website/docs/configuration.md @@ -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` @@ -52,7 +52,7 @@ Default: `Shuffle.ALL_ITEMS` (`"all"`) Initial filter group. -### `gutterWidth` [number | (conatinerWidth: number) => number] +### `gutterWidth` [number | (containerWidth: number) => number] Default: `0` diff --git a/packages/shuffle/index.d.ts b/packages/shuffle/index.d.ts index 5cef54ac..47c5cc90 100644 --- a/packages/shuffle/index.d.ts +++ b/packages/shuffle/index.d.ts @@ -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 ','. @@ -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