import { TextButtonDropdownProps } from './TextButtonDropdown.types'; /** * 텍스트 버튼 형태의 드롭다운 컴포넌트입니다. * * @param {Object} props * @param {Array<{key: string, value: string, leadingIcon?: React.ReactNode}>} props.items - 드롭다운에 표시될 항목들의 배열 * @param {{key: string, value: string, leadingIcon?: React.ReactNode}} props.selectedItem - 현재 선택된 항목 ({key, value, leadingIcon}[]) * @param {(item: {key: string, value: string, leadingIcon?: React.ReactNode}) => void} props.onItemClick - 항목 클릭 시 실행될 콜백 함수 (item: {key, value, leadingIcon} => void) * @param {boolean} [props.alignRight=false] - 드롭다운 메뉴를 오른쪽 정렬할지 여부 * @param {boolean} [props.disabled=false] - 드롭다운 메뉴를 비활성화할지 여부 * * @example * const items = [ * { key: '1', value: '옵션 1' }, * { key: '2', value: '옵션 2', leadingIcon: }, * { key: '3', value: '옵션 3' } * ]; * * const [selected, setSelected] = useState(items[0]); * * return ( * * ); */ declare const TextButtonDropdown: ({ items, selectedItem, onItemClick, alignRight, disabled, }: TextButtonDropdownProps) => import("react/jsx-runtime").JSX.Element; export { TextButtonDropdown };