import { CategoryProps, ListProps, RootProps } from './MultiColumnList.types'; /** * MultiColumnList의 최상위 컴포넌트입니다. * * @param {RootProps} props * @param {React.ReactNode} props.children - 자식 컴포넌트 * @param {string} [props.className] - 추가 스타일 클래스 * @param {number} [props.currentActiveCategory=0] - 현재 활성화된 카테고리 인덱스 * @param {(index: number) => void} [props.onCategoryChange] - 카테고리 변경 시 호출되는 콜백 * * @example * ```tsx * console.log(index)}> * * 카테고리 1 * 카테고리 2 * * * 내용 1 * 내용 2 * * * ``` */ declare const Root: ({ children, className, currentActiveCategory, onCategoryChange, ...rest }: RootProps) => import("react/jsx-runtime").JSX.Element; /** * 카테고리 목록을 포함하는 컨테이너 컴포넌트입니다. * * @param {RootProps} props * @param {React.ReactNode} props.children - Category 컴포넌트들 * @param {string} [props.className] - 추가 스타일 클래스 * * @example * ```tsx * * 카테고리 1 * 카테고리 2 * * ``` */ declare const CategoryContainer: ({ className, children, ...rest }: RootProps) => import("react/jsx-runtime").JSX.Element; /** * 선택된 카테고리의 내용을 표시하는 컨테이너 컴포넌트입니다. * * @param {RootProps} props * @param {React.ReactNode} props.children - List 컴포넌트들 * @param {string} [props.className] - 추가 스타일 클래스 * * @example * ```tsx * * 내용 1 * 내용 2 * * ``` */ declare const ListContainer: ({ children, className, ...rest }: RootProps) => import("react/jsx-runtime").JSX.Element; /** * 개별 카테고리 항목 컴포넌트입니다. * * @param {CategoryProps} props * @param {React.ReactNode} props.children - 카테고리 텍스트 * @param {string} [props.className] - 추가 스타일 클래스 * @param {number} props.index - 카테고리 인덱스 * * @example * ```tsx * 카테고리 1 * ``` */ declare const Category: ({ children, className, index, ...rest }: CategoryProps) => import("react/jsx-runtime").JSX.Element; /** * 카테고리에 해당하는 내용을 표시하는 컴포넌트입니다. * * @param {ListProps} props * @param {React.ReactNode} props.children - 리스트 내용 * @param {string} [props.title] - 리스트 제목 * @param {number} props.index - 리스트 인덱스 (해당 카테고리 인덱스와 일치해야 표시됨) * * @example * ```tsx * *
리스트 내용
*
* ``` */ declare const List: ({ children, title, index, ...rest }: ListProps) => import("react/jsx-runtime").JSX.Element | null; export { Root, CategoryContainer, ListContainer, Category, List };