All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.resources.VerticalNav.js Maven / Gradle / Ivy

/**
 * SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
 * SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
 */

import {VerticalNav as ClayVerticalNav} from '@clayui/core';
import ClayIcon from '@clayui/icon';
import {FeatureIndicator} from 'frontend-js-components-web';
import React from 'react';

export default function VerticalNav({
	activation,
	active,
	additionalProps: _additionalProps,
	componentId: _componentId,
	cssClass,
	decorated,
	defaultExpandedKeys,
	items,
	large,
	locale: _locale,
	portletId: _portletId,
	portletNamespace: _portletNamespace,
	triggerLabel,
	...otherProps
}) {
	return (
		
			{(item) => (
				
					{item.label}

					{item.icons?.map((icon) => {
						return (
							
						);
					})}

					{item.deprecated ? (
						
							
						
					) : null}
				
			)}
		
	);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy