@daeryun/dr_components 1.2.12 → 1.2.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -5,8 +5,8 @@ export const ViewMore = (props) => {
|
|
|
5
5
|
const labelTxt = `${label} 글 더보기${nowPage && totalPage ? ` ${totalPage}페이지 중 ${nowPage - 1}페이지` : ''}`;
|
|
6
6
|
return (<>
|
|
7
7
|
{flag ? (<button aria-label={labelTxt} className={(loading ? 'pointer-events-none ' : '') +
|
|
8
|
-
(nowPage && totalPage ? ' px-
|
|
9
|
-
'relative m-auto mb-20 mt-20 flex w-[10em] cursor-pointer items-center justify-between border-[1px] border-solid border-[#707070] py-4 text-[#666666] '} onKeyDown={(e) => {
|
|
8
|
+
(nowPage && totalPage ? ' px-4 ' : ' px-10 ') +
|
|
9
|
+
'relative m-auto mb-20 mt-20 flex h-[52px] w-[10em] cursor-pointer items-center justify-between border-[1px] border-solid border-[#707070] py-4 text-[#666666] '} onKeyDown={(e) => {
|
|
10
10
|
if (e.key === 'Enter') {
|
|
11
11
|
func();
|
|
12
12
|
}
|
|
@@ -21,8 +21,8 @@ export const ViewMore = (props: {
|
|
|
21
21
|
aria-label={labelTxt}
|
|
22
22
|
className={
|
|
23
23
|
(loading ? 'pointer-events-none ' : '') +
|
|
24
|
-
(nowPage && totalPage ? ' px-
|
|
25
|
-
'relative m-auto mb-20 mt-20 flex w-[10em] cursor-pointer items-center justify-between border-[1px] border-solid border-[#707070] py-4 text-[#666666] '
|
|
24
|
+
(nowPage && totalPage ? ' px-4 ' : ' px-10 ') +
|
|
25
|
+
'relative m-auto mb-20 mt-20 flex h-[52px] w-[10em] cursor-pointer items-center justify-between border-[1px] border-solid border-[#707070] py-4 text-[#666666] '
|
|
26
26
|
}
|
|
27
27
|
onKeyDown={(e: any) => {
|
|
28
28
|
if (e.key === 'Enter') {
|