2.1.1 • Published 4 years ago

@entando/menu v2.1.1

Weekly downloads
30
License
LGPL-2.1
Repository
github
Last release
4 years ago

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 };
2.1.1

4 years ago

2.1.0

4 years ago

2.0.1

4 years ago

2.0.0

5 years ago

1.1.3

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago