From f6696166c1e90f4591ab9629d05d6f753a504e56 Mon Sep 17 00:00:00 2001 From: saseungmin Date: Tue, 18 Jun 2024 03:21:52 +0900 Subject: [PATCH] chore(@toss/react): remove duplicated page from OutsideClick by adding @tossdocs-ignore --- .../react/react/src/components/OutsideClick/OutsideClick.tsx | 4 ++-- packages/react/react/src/components/OutsideClick/index.ts | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/react/react/src/components/OutsideClick/OutsideClick.tsx b/packages/react/react/src/components/OutsideClick/OutsideClick.tsx index 28957badf..bd7c9f16d 100644 --- a/packages/react/react/src/components/OutsideClick/OutsideClick.tsx +++ b/packages/react/react/src/components/OutsideClick/OutsideClick.tsx @@ -1,6 +1,6 @@ +/** @tossdocs-ignore */ import { ComponentProps, ElementType, ForwardedRef, forwardRef, ReactNode, useState } from 'react'; -import { useCombinedRefs } from '../../hooks'; -import { useOutsideClickEffect } from '../../index'; +import { useCombinedRefs, useOutsideClickEffect } from '../../hooks'; type NonHaveChildElements = | 'input' diff --git a/packages/react/react/src/components/OutsideClick/index.ts b/packages/react/react/src/components/OutsideClick/index.ts index fe487b6c8..cc089380d 100644 --- a/packages/react/react/src/components/OutsideClick/index.ts +++ b/packages/react/react/src/components/OutsideClick/index.ts @@ -1 +1,2 @@ +/** @tossdocs-ignore */ export * from './OutsideClick';