setIsMouseOver(true)}
- onMouseOut={() => setIsMouseOver(false)}
- >
-
-
- {props.isOpen ? (
-
- ) : (
-
- )}
-
-
- );
-};
-UserAvatar.displayName = 'UserAvatar';
-
-const UserInformation = (props) => {
- const { learnApiBaseUrl } = useContext(ConfigContext);
- const { isOpen, getToggleButtonProps, getMenuProps } = useSelect({
- items: Object.values(props.userData),
- });
-
- return (
-