|
3 | 3 | * SPDX-License-Identifier: BSD-3-Clause
|
4 | 4 | */
|
5 | 5 |
|
6 |
| -import {number} from '@storybook/addon-knobs'; |
7 | 6 | import React from 'react';
|
8 | 7 |
|
9 | 8 | import ClayPagination, {ClayPaginationWithBasicItems} from '../src';
|
@@ -54,43 +53,6 @@ NoHref.args = {
|
54 | 53 | totalPages: 25,
|
55 | 54 | };
|
56 | 55 |
|
57 |
| -export const Sizes = () => ( |
58 |
| - <> |
59 |
| - <ClayPaginationWithBasicItems |
60 |
| - defaultActive={number('Active Page', 8)} |
61 |
| - ellipsisBuffer={number('Ellipsis Buffer', 2)} |
62 |
| - ellipsisProps={{ |
63 |
| - 'aria-label': 'More {0} through {1}', |
64 |
| - title: 'More {0} through {1}', |
65 |
| - }} |
66 |
| - hrefConstructor={(page) => `#${page}`} |
67 |
| - size="sm" |
68 |
| - totalPages={25} |
69 |
| - /> |
70 |
| - <ClayPaginationWithBasicItems |
71 |
| - defaultActive={number('Active Page', 8)} |
72 |
| - ellipsisBuffer={number('Ellipsis Buffer', 2)} |
73 |
| - ellipsisProps={{ |
74 |
| - 'aria-label': 'More {0} through {1}', |
75 |
| - title: 'More {0} through {1}', |
76 |
| - }} |
77 |
| - hrefConstructor={(page) => `#${page}`} |
78 |
| - totalPages={25} |
79 |
| - /> |
80 |
| - <ClayPaginationWithBasicItems |
81 |
| - defaultActive={number('Active Page', 8)} |
82 |
| - ellipsisBuffer={number('Ellipsis Buffer', 2)} |
83 |
| - ellipsisProps={{ |
84 |
| - 'aria-label': 'More {0} through {1}', |
85 |
| - title: 'More {0} through {1}', |
86 |
| - }} |
87 |
| - hrefConstructor={(page) => `#${page}`} |
88 |
| - size="lg" |
89 |
| - totalPages={25} |
90 |
| - /> |
91 |
| - </> |
92 |
| -); |
93 |
| - |
94 | 56 | export const DisabledPages = () => (
|
95 | 57 | <ClayPaginationWithBasicItems
|
96 | 58 | defaultActive={8}
|
|
0 commit comments