import { ReactNode, useState } from "react"; import { Dropdown, DropdownToggle, KebabToggle } from "@patternfly/react-core"; type KeycloakDropdownProps = { isKebab?: boolean; title?: ReactNode; dropDownItems: ReactNode[]; }; export const KeycloakDropdown = ({ isKebab = false, title, dropDownItems, }: KeycloakDropdownProps) => { const [open, setOpen] = useState(false); return ( {title} ) : ( {title} ) } isOpen={open} dropdownItems={dropDownItems} /> ); };