@daeryun/dr_components 0.2.54 → 0.2.55

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.
Files changed (64) hide show
  1. package/dist/components/BrochureBtn/BrochureBtn.stories.d.ts +6 -3
  2. package/dist/components/BrochureBtn/BrochureBtn.stories.tsx +1 -1
  3. package/dist/components/CountingSection/CountingSection.jsx +1 -1
  4. package/dist/components/CountingSection/CountingSection.tsx +2 -0
  5. package/dist/components/Fix/index.jsx +1 -0
  6. package/dist/components/Fix/index.tsx +2 -0
  7. package/dist/components/Footer/TopBtn.jsx +1 -0
  8. package/dist/components/Footer/TopBtn.tsx +2 -0
  9. package/dist/components/Footer/index.jsx +1 -0
  10. package/dist/components/Footer/index.tsx +2 -0
  11. package/dist/components/Layout/Wrapper.jsx +1 -0
  12. package/dist/components/Layout/Wrapper.tsx +2 -0
  13. package/dist/components/LogoSection/LogoSection.jsx +1 -0
  14. package/dist/components/LogoSection/LogoSection.tsx +2 -0
  15. package/dist/components/MapFix/AreaImage.jsx +1 -0
  16. package/dist/components/MapFix/AreaImage.tsx +2 -0
  17. package/dist/components/MapFix/MapFix.jsx +1 -0
  18. package/dist/components/MapFix/MapFix.tsx +2 -0
  19. package/dist/components/MapSection/Map.jsx +1 -0
  20. package/dist/components/MapSection/Map.tsx +2 -0
  21. package/dist/components/MapSection/MapSection.jsx +1 -0
  22. package/dist/components/MapSection/MapSection.tsx +2 -0
  23. package/dist/components/Mark/Mark.jsx +1 -0
  24. package/dist/components/Mark/Mark.tsx +2 -0
  25. package/dist/components/PdfPrintCopyLink/PdfPrintCopyLink.jsx +1 -0
  26. package/dist/components/PdfPrintCopyLink/PdfPrintCopyLink.tsx +2 -0
  27. package/dist/components/SelectBox/SelectBox.jsx +1 -0
  28. package/dist/components/SelectBox/SelectBox.tsx +2 -0
  29. package/dist/components/Seo/SeoStrength.jsx +1 -0
  30. package/dist/components/Seo/SeoStrength.tsx +2 -0
  31. package/dist/components/ViewMoreSection/ViewMoreSection.jsx +1 -0
  32. package/dist/components/ViewMoreSection/ViewMoreSection.tsx +2 -0
  33. package/dist/components/banner/TopBanner.jsx +1 -0
  34. package/dist/components/banner/TopBanner.tsx +2 -0
  35. package/dist/components/categoryView/CategoryComponent.jsx +2 -1
  36. package/dist/components/categoryView/CategoryComponent.tsx +3 -1
  37. package/dist/components/categoryView/CategoryView.jsx +1 -0
  38. package/dist/components/categoryView/CategoryView.tsx +2 -0
  39. package/dist/components/categoryView/CenterComponent.jsx +1 -0
  40. package/dist/components/categoryView/CenterComponent.tsx +2 -0
  41. package/dist/components/hook/useBrowser.js +1 -0
  42. package/dist/components/hook/useBrowser.ts +2 -0
  43. package/dist/components/hook/useCountNum.jsx +1 -0
  44. package/dist/components/hook/useCountNum.tsx +2 -0
  45. package/dist/components/hook/useElementObserve.js +1 -0
  46. package/dist/components/hook/useElementObserve.ts +2 -0
  47. package/dist/components/hook/useScrollRestoration.js +1 -0
  48. package/dist/components/hook/useScrollRestoration.ts +2 -0
  49. package/dist/components/hook/useScrollRestorationException.js +1 -0
  50. package/dist/components/hook/useScrollRestorationException.ts +2 -0
  51. package/dist/components/myCase/MyCase.jsx +7 -6
  52. package/dist/components/myCase/MyCase.tsx +7 -6
  53. package/dist/components/page/Choice/Choice.jsx +1 -0
  54. package/dist/components/page/Choice/Choice.tsx +2 -0
  55. package/dist/components/page/Consulting/Consulting.jsx +1 -0
  56. package/dist/components/page/Consulting/Consulting.tsx +2 -0
  57. package/dist/components/page/Strength/Strength.jsx +1 -0
  58. package/dist/components/page/Strength/Strength.tsx +2 -0
  59. package/dist/components/page/Strength/StrengthIntro.jsx +1 -0
  60. package/dist/components/page/Strength/StrengthIntro.tsx +2 -0
  61. package/dist/components/page/Strength/StrengthList.jsx +1 -0
  62. package/dist/components/page/Strength/StrengthList.tsx +2 -0
  63. package/dist/tsconfig.tsbuildinfo +1 -1
  64. package/package.json +1 -1
@@ -1,4 +1,3 @@
1
- import type { StoryObj } from '@storybook/react';
2
1
  import '../../styles/globals.css';
3
2
  declare const meta: {
4
3
  component: (props: {
@@ -17,5 +16,9 @@ declare const meta: {
17
16
  };
18
17
  };
19
18
  export default meta;
20
- type Story = StoryObj<typeof meta>;
21
- export declare const Default: Story;
19
+ export declare const Default: {
20
+ args: {
21
+ type: string;
22
+ };
23
+ render: (args: any) => JSX.Element;
24
+ };
@@ -18,7 +18,7 @@ const meta = {
18
18
  export default meta;
19
19
  type Story = StoryObj<typeof meta>;
20
20
 
21
- export const Default: Story = {
21
+ export const Default: { args: { type: string }; render: (args: any) => JSX.Element } = {
22
22
  render: args => (
23
23
  <>
24
24
  <div className={'h-[100vh] w-full pt-10'}>
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import React, { useEffect, useState, useRef } from 'react';
2
3
  import Image from 'next/image';
3
4
  import useCountNum from '../common/hook/useCountNum';
@@ -139,4 +140,3 @@ const CountingSection = (props) => {
139
140
  </section>);
140
141
  };
141
142
  export default CountingSection;
142
- //text-[40px] font-[800] max-xl:text-[48px] max-lg:text-[42px] max-md:text-[38px] max-xs:text-[30px]
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import React, { useEffect, useState, useRef } from 'react';
2
4
  import Image from 'next/image';
3
5
  import { IInitialDataTypes } from '../common';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import Link from 'next/link';
2
3
  import React, { useEffect, useRef, useState } from 'react';
3
4
  import Image from 'next/image';
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import Link from 'next/link';
2
4
  import React, { RefObject, useEffect, useRef, useState } from 'react';
3
5
  import Image from 'next/image';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import IconTop from '../../asset/images/footer/top.svg';
2
3
  const TopBtn = (props) => {
3
4
  const { className = '' } = props;
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import IconTop from '../../asset/images/footer/top.svg';
2
4
 
3
5
  const TopBtn = (props: { className?: string }) => {
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
3
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
4
  return new (P || (P = Promise))(function (resolve, reject) {
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import Image from 'next/image';
2
4
  import React, { useEffect, useRef, useState } from 'react';
3
5
  import * as gtag from '../../lib/gtag';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  var __rest = (this && this.__rest) || function (s, e) {
2
3
  var t = {};
3
4
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import React, { ReactNode } from 'react';
2
4
 
3
5
  interface WrapperProps extends React.HTMLAttributes<HTMLDivElement> {
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import React, { useEffect, useRef } from 'react';
2
3
  import Image from 'next/image';
3
4
  import 'swiper/css';
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import React, { useEffect, useState, useRef } from 'react';
2
4
  import Image from 'next/image';
3
5
  import 'swiper/css';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import React, { useState } from 'react';
2
3
  import Link from 'next/link';
3
4
  import Image from 'next/image';
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import React, { useState } from 'react';
2
4
  import Link from 'next/link';
3
5
  import Image from 'next/image';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import React, { useEffect, useRef, useState } from 'react';
2
3
  import Image from 'next/image';
3
4
  import { newNapAreaMobile } from '../common';
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import React, { useEffect, useRef, useState } from 'react';
2
4
  import Image from 'next/image';
3
5
  import { newNapAreaMobile } from '../common';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { useState } from 'react';
2
3
  const Map = ({ onClick, selectRegion, isFirstClick }) => {
3
4
  const [incheonHover, setIncheonHover] = useState(false);
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import { useState } from 'react';
2
4
 
3
5
  const Map = ({
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import React, { useEffect, useState } from 'react';
2
3
  import Image from 'next/image';
3
4
  import 'swiper/css';
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import React, { useEffect, useState, useRef } from 'react';
2
4
  import Image from 'next/image';
3
5
  import 'swiper/css';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import Court from '../../asset/images/mark/court.svg';
2
3
  import Police from '../../asset/images/mark/police.svg';
3
4
  import Prosecution from '../../asset/images/mark/prosecution.svg';
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import Court from '../../asset/images/mark/court.svg';
2
4
  import Police from '../../asset/images/mark/police.svg';
3
5
  import Prosecution from '../../asset/images/mark/prosecution.svg';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
3
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
4
  return new (P || (P = Promise))(function (resolve, reject) {
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import React, { useState } from 'react';
2
4
  import axios from 'axios';
3
5
  import Print from '../../asset/images/pdfPrintCopyLink/print.svg';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
3
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
4
  return new (P || (P = Promise))(function (resolve, reject) {
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import React, { useState, useRef, useEffect } from 'react';
2
4
 
3
5
  export const SelectBox = (props: {
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import React from 'react';
2
3
  import BgImg from '../../asset/images/seo/rec_img_01.webp';
3
4
  import Icon1 from '../../asset/images/seo/rec_01.svg';
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import React, { RefObject, useEffect, useRef, useState } from 'react';
2
4
  import BgImg from '../../asset/images/seo/rec_img_01.webp';
3
5
  import Icon1 from '../../asset/images/seo/rec_01.svg';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import React, { useState } from 'react';
2
3
  import Wrapper from '../Layout/Wrapper';
3
4
  import Link from 'next/link';
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import React, { useState } from 'react';
2
4
  import Image from 'next/image';
3
5
  import Wrapper from '../Layout/Wrapper';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
3
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
4
  return new (P || (P = Promise))(function (resolve, reject) {
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import style from './TopBanner.module.css';
2
4
  import { useEffect, useState, useCallback } from 'react';
3
5
  import 'swiper/css';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import Link from 'next/link';
2
3
  import Image from 'next/image';
3
4
  import React from 'react';
@@ -31,7 +32,7 @@ const CategoryComponent = (props) => {
31
32
  'max-md2:auto-rows-[minmax(0,60px)] max-md2:grid-cols-1 ' +
32
33
  //520px
33
34
  'max-2sm:auto-rows-[minmax(0,50px)]'}>
34
- {showCategory.map((item, index) => (<Link href={linkString(item.idx, item.pathname)} key={index} className={'group/category flex h-full w-full items-center gap-[6px] justify-between rounded-[10px] border-[1px] border-solid border-[#D9D9D9] bg-[#fff] px-[20px] ' +
35
+ {showCategory.map((item, index) => (<Link href={linkString(item.idx, item.pathname)} key={index} className={'group/category flex h-full w-full items-center justify-between gap-[6px] rounded-[10px] border-[1px] border-solid border-[#D9D9D9] bg-[#fff] px-[20px] ' +
35
36
  //900px
36
37
  'max-md2:rounded-none max-md2:border-0' +
37
38
  //520px
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import Link from 'next/link';
2
4
  import Image from 'next/image';
3
5
  import React from 'react';
@@ -65,7 +67,7 @@ const CategoryComponent = (props: {
65
67
  href={linkString(item.idx, item.pathname)}
66
68
  key={index}
67
69
  className={
68
- 'group/category flex h-full w-full items-center gap-[6px] justify-between rounded-[10px] border-[1px] border-solid border-[#D9D9D9] bg-[#fff] px-[20px] ' +
70
+ 'group/category flex h-full w-full items-center justify-between gap-[6px] rounded-[10px] border-[1px] border-solid border-[#D9D9D9] bg-[#fff] px-[20px] ' +
69
71
  //900px
70
72
  'max-md2:rounded-none max-md2:border-0' +
71
73
  //520px
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
3
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
4
  return new (P || (P = Promise))(function (resolve, reject) {
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import React, { useEffect, useState } from 'react';
2
4
  import { ICategory, ICenter } from './ICategoryViewTypes';
3
5
  import CenterComponent from './CenterComponent';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import React from 'react';
2
3
  import Image from 'next/image';
3
4
  import Arrow1 from '../../asset/images/categoryView/section9_arrow_01.webp';
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import React from 'react';
2
4
  import { ICenter } from './ICategoryViewTypes';
3
5
  import Image from 'next/image';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { useState, useEffect } from 'react';
2
3
  const useBrowser = (isNotTimer) => {
3
4
  const [dimensions, setDimensions] = useState({
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import { useState, useEffect } from 'react';
2
4
 
3
5
  const useBrowser = (isNotTimer?: boolean) => {
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { useEffect, useState } from 'react';
2
3
  function easeOutExpo(t, y) {
3
4
  return t === 1 ? 1 : 1 - Math.pow(2, (y ? y : -5) * t);
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import { useEffect, useState } from 'react';
2
4
 
3
5
  function easeOutExpo(t: number, y?: number): number {
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { useState, useEffect } from 'react';
2
3
  import style from '../components/main/main.module.css';
3
4
  const useElementObserve = (targetRef, flagStandard) => {
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import { useState, useEffect } from 'react';
2
4
  import style from '../components/main/main.module.css';
3
5
 
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { useEffect, useState } from 'react';
2
3
  import Router from 'next/router';
3
4
  export function saveScrollPos(url) {
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import { useEffect, useState } from 'react';
2
4
  import Router, { NextRouter } from 'next/router';
3
5
 
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { useEffect, useState } from 'react';
2
3
  import { removeScrollPos, restoreScrollPos } from './useScrollRestoration';
3
4
  //리스트나 특정 플래그가 필요할 때 사용하는 스크롤 훅
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import Router, { NextRouter } from 'next/router';
2
4
  import { useEffect, useState } from 'react';
3
5
  import { removeScrollPos, restoreScrollPos } from './useScrollRestoration';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import React, { useEffect } from 'react';
2
3
  const MyCase = (props) => {
3
4
  //전체 body 스크롤 잠금
@@ -8,14 +9,14 @@ const MyCase = (props) => {
8
9
  };
9
10
  }, []);
10
11
  return (<>
11
- <div className={'w-full h-[100vh] top-0 left-0 z-[900] fixed'}>
12
- <div className={'w-full h-full bg-black bg-opacity-80 absolute top-0 left-0 z-[1]'}></div>
13
- <div className={'w-[80%] h-[80%] px-[20px] max-w-[1000px] max-h-[1200px] bg-white z-[2] absolute bottom-[50%] translate-y-[50%] left-[50%] translate-x-[-50%] ' +
12
+ <div className={'fixed left-0 top-0 z-[900] h-[100vh] w-full'}>
13
+ <div className={'absolute left-0 top-0 z-[1] h-full w-full bg-black bg-opacity-80'}></div>
14
+ <div className={'absolute bottom-[50%] left-[50%] z-[2] h-[80%] max-h-[1200px] w-[80%] max-w-[1000px] translate-x-[-50%] translate-y-[50%] bg-white px-[20px] ' +
14
15
  //1024px
15
- 'max-lg:w-full max-lg:h-[calc(100%-60px)] max-lg:bottom-0 max-lg:translate-y-0 max-lg:px-[10px] max-lg:pt-[10px] max-lg:pb-[100px]'}>
16
- <button type={'button'} className={'text-[35px] text-white absolute top-[-50px] right-[-40px] ' +
16
+ 'max-lg:bottom-0 max-lg:h-[calc(100%-60px)] max-lg:w-full max-lg:translate-y-0 max-lg:px-[10px] max-lg:pb-[100px] max-lg:pt-[10px]'}>
17
+ <button type={'button'} className={'absolute right-[-40px] top-[-50px] text-[35px] text-white ' +
17
18
  //1024px
18
- ' max-lg:text-[25px] max-lg:right-[10px] max-lg:top-[-45px]'} onClick={props.onClick}>
19
+ ' max-lg:right-[10px] max-lg:top-[-45px] max-lg:text-[25px]'} onClick={props.onClick}>
19
20
  ✕
20
21
  </button>
21
22
  <iframe width="100%" height="100%" title="나의 사건검색" src="https://safind.scourt.go.kr/sf/mysafind.jsp?sch_sa_gbn=&amp;sch_bub_nm=&amp;sa_year=&amp;sa_gubun=&amp;sa_serial=&amp;x=&amp;y=&amp;saveCookie="></iframe>
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import React, { useEffect } from 'react';
2
3
 
3
4
  const MyCase = (props: { onClick: () => void }) => {
@@ -12,21 +13,21 @@ const MyCase = (props: { onClick: () => void }) => {
12
13
 
13
14
  return (
14
15
  <>
15
- <div className={'w-full h-[100vh] top-0 left-0 z-[900] fixed'}>
16
- <div className={'w-full h-full bg-black bg-opacity-80 absolute top-0 left-0 z-[1]'}></div>
16
+ <div className={'fixed left-0 top-0 z-[900] h-[100vh] w-full'}>
17
+ <div className={'absolute left-0 top-0 z-[1] h-full w-full bg-black bg-opacity-80'}></div>
17
18
  <div
18
19
  className={
19
- 'w-[80%] h-[80%] px-[20px] max-w-[1000px] max-h-[1200px] bg-white z-[2] absolute bottom-[50%] translate-y-[50%] left-[50%] translate-x-[-50%] ' +
20
+ 'absolute bottom-[50%] left-[50%] z-[2] h-[80%] max-h-[1200px] w-[80%] max-w-[1000px] translate-x-[-50%] translate-y-[50%] bg-white px-[20px] ' +
20
21
  //1024px
21
- 'max-lg:w-full max-lg:h-[calc(100%-60px)] max-lg:bottom-0 max-lg:translate-y-0 max-lg:px-[10px] max-lg:pt-[10px] max-lg:pb-[100px]'
22
+ 'max-lg:bottom-0 max-lg:h-[calc(100%-60px)] max-lg:w-full max-lg:translate-y-0 max-lg:px-[10px] max-lg:pb-[100px] max-lg:pt-[10px]'
22
23
  }
23
24
  >
24
25
  <button
25
26
  type={'button'}
26
27
  className={
27
- 'text-[35px] text-white absolute top-[-50px] right-[-40px] ' +
28
+ 'absolute right-[-40px] top-[-50px] text-[35px] text-white ' +
28
29
  //1024px
29
- ' max-lg:text-[25px] max-lg:right-[10px] max-lg:top-[-45px]'
30
+ ' max-lg:right-[10px] max-lg:top-[-45px] max-lg:text-[25px]'
30
31
  }
31
32
  onClick={props.onClick}
32
33
  >
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import React, { useEffect, useState } from 'react';
2
3
  import Image from 'next/image';
3
4
  import IconMt from '../../../asset/images/choice/mt_icon.svg';
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import React, { useEffect, useState } from 'react';
2
4
  import Image from 'next/image';
3
5
  import IconMt from '../../../asset/images/choice/mt_icon.svg';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
3
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
4
  return new (P || (P = Promise))(function (resolve, reject) {
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import React, { InputHTMLAttributes, useEffect, useState } from 'react';
2
4
  import Image from 'next/image';
3
5
  import IconMt from '../../../asset/images/choice/mt_icon.svg';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import StrengthIntro from './StrengthIntro';
2
3
  import StrengthList from './StrengthList';
3
4
  const Strength = ({ initialData }) => {
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import { IInitialDataTypes } from '../../common';
2
4
  import StrengthIntro from './StrengthIntro';
3
5
  import StrengthList from './StrengthList';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import React from 'react';
2
3
  import Image from 'next/image';
3
4
  import useBrowser from '../../common/hook/useBrowser';
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import React from 'react';
2
4
  import Image from 'next/image';
3
5
  import useBrowser from '../../common/hook/useBrowser';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import React from 'react';
2
3
  import Image from 'next/image';
3
4
  import useBrowser from '../../common/hook/useBrowser';
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import React, { useEffect, useRef, useState } from 'react';
2
4
  import Image from 'next/image';
3
5
  import useBrowser from '../../common/hook/useBrowser';