From d65539f2396bfcd57901a7b15d1769774d8c6311 Mon Sep 17 00:00:00 2001 From: mcnaveen <8493007+mcnaveen@users.noreply.github.com> Date: Tue, 28 Jun 2022 19:22:39 +0530 Subject: [PATCH] =?UTF-8?q?refactor(pagination):=20=E2=99=BB=EF=B8=8F=20?= =?UTF-8?q?=20change=20pagination=20story=20type?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .husky/post-checkout | 3 --- .husky/post-commit | 3 --- .husky/post-merge | 3 --- .husky/pre-push | 3 --- src/pagination/stories/PaginationBasic.stories.tsx | 8 ++++---- 5 files changed, 4 insertions(+), 16 deletions(-) delete mode 100755 .husky/post-checkout delete mode 100755 .husky/post-commit delete mode 100755 .husky/post-merge delete mode 100755 .husky/pre-push diff --git a/.husky/post-checkout b/.husky/post-checkout deleted file mode 100755 index c37815e2b..000000000 --- a/.husky/post-checkout +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting '.git/hooks/post-checkout'.\n"; exit 2; } -git lfs post-checkout "$@" diff --git a/.husky/post-commit b/.husky/post-commit deleted file mode 100755 index e5230c305..000000000 --- a/.husky/post-commit +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting '.git/hooks/post-commit'.\n"; exit 2; } -git lfs post-commit "$@" diff --git a/.husky/post-merge b/.husky/post-merge deleted file mode 100755 index c99b752a5..000000000 --- a/.husky/post-merge +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting '.git/hooks/post-merge'.\n"; exit 2; } -git lfs post-merge "$@" diff --git a/.husky/pre-push b/.husky/pre-push deleted file mode 100755 index 216e91527..000000000 --- a/.husky/pre-push +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting '.git/hooks/pre-push'.\n"; exit 2; } -git lfs pre-push "$@" diff --git a/src/pagination/stories/PaginationBasic.stories.tsx b/src/pagination/stories/PaginationBasic.stories.tsx index 3553a4b8a..fde2e092e 100644 --- a/src/pagination/stories/PaginationBasic.stories.tsx +++ b/src/pagination/stories/PaginationBasic.stories.tsx @@ -22,14 +22,14 @@ export const Default: Story = { args: {}, }; -export const DefaultPage = { +export const DefaultPage: Story = { args: { defaultPage: 5, count: 10, }, }; -export const BoundaryCount = { +export const BoundaryCount: Story = { args: { defaultPage: 25, count: 50, @@ -37,10 +37,10 @@ export const BoundaryCount = { }, }; -export const SibilingCount = { +export const SiblingCount: Story = { args: { defaultPage: 25, count: 50, - sibilingCount: 5, + siblingCount: 5, }, };