New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@entando/menu

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@entando/menu

react components used to render menus in entando projects

latest
Source
npmnpm
Version
2.1.1
Version published
Weekly downloads
25
-90.49%
Maintainers
1
Weekly downloads
 
Created
Source

menu

Menu is a collection of react components used in Entando projects.

Installation instructions

run npm i @entando/menu

Components

Every component is imported in the following manner:

import { <component> } from '@entando/menu'

The module also has its own css that can be loaded into a react application with a simple import:

import '@entando/menu/dist/css/index.css';

locales

This package also exports locales for the labels used within it.

To add these labels to an existing project merge them with the project labels:

import { locales } from '@entando/menu';

// enLocale and itLocale are the project own locales.

enLocale.messages = { ...enLocale.messages, ...locales.en.messages };
itLocale.messages = { ...itLocale.messages, ...locales.it.messages };

Keywords

entando

FAQs

Package last updated on 19 May 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts