npm install @radix-ui/react-accordion@latest -E
// 전체를 Accordion이라는 객체안에 불러오겠다.
import * as Accordion from '@radix-ui/react-accordion';

function App(){
	return <h1>메인 페이지</h1>
}

return App
export {
  createAccordionScope,
  //
  Accordion,
  AccordionItem,
  AccordionHeader,
  AccordionTrigger,
  AccordionContent,
  //
  Root,
  Item,
  Header,
  Trigger,
  Content,
} from './Accordion';

// 밑에는 타입이라 위에것만 보자
export type {
  AccordionSingleProps,
  AccordionMultipleProps,
  AccordionItemProps,
  AccordionHeaderProps,
  AccordionTriggerProps,
  AccordionContentProps,
} from './Accordion';

Untitled