
Product
Introducing Socket Fix for Safe, Automated Dependency Upgrades
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
this-package-exports-the-number-214-and-its-name-is-also-two-hundred-and-fourteen-characters-long-which-is-the-longest-name-currently-allowed-by-the-npm-registry-to-see-how-a-name-that-long-would-look-if-you-did-ii
Advanced tools
[](https://travis-ci.org/kenshoo/react-menu) [](https://badge.fury.io/js/%40kenshooui%2Freact-menu)
Kenshoo menu component
React menu is a simple menu container component that helps a user create a simple menu bar
Installation using npm:
npm install @kenshooui/react-menu --save
Installation using Yarn:
yarn add @kenshooui/react-menu
import React, { Component } from "react";
import Menu, {
Button,
Dropdown,
Seperator,
DropdownItem,
} from ""@kenshooui/react-menu";
class Menu extends Component {
render() {
<Menu>
<Button>Analysis</Button>
<Dropdown label="options">
<DropdownItem>option 1</DropdownItem>
<DropdownItem>Option 2/DropdownItem>
</Dropdown>
<Separator />
<Button>Help</Button>
<Dropdown label="more options">
<DropdownItem>option 1</DropdownItem>
<DropdownItem>Option 2</DropdownItem>
</Dropdown>
<div>I'm a div</div>
</Menu>
}
}
Name | Type | Default | Description |
---|---|---|---|
className | String | '' | Used for customizing the style. |
children | Elements/Components | '' | List of elements to place in the menu |
Name | Type | Default | Description |
---|---|---|---|
className | String | '' | Used for customizing the style. |
disabledClassName | String | '' | Used for customizing the disabled style. |
children | Elements/Components | '' | List of elements to place in the menu |
isDisabled | boolean | '' | Toggle to disable/enable the component. |
onClick | function | '' | The click callback function. |
Name | Type | Default | Description |
---|---|---|---|
className | String | '' | Used for customizing the style. |
disabledClassName | String | '' | Used for customizing the disabled style. |
itemsClassName | String | '' | Used for customizing the items container style. |
iconClassName | String | '' | Used for customizing the chevron icon. |
label | String | '' | The dropdown label |
children | Elements/Components | '' | List of elements to place in the menu |
isDisabled | boolean | '' | Toggle to disable/enable the component. |
onClick | function | '' | The click callback function. |
direction | String | '' | bottom, right, left, bottom_left - default uses bottom style. |
Use this component to divide the menu to left and right sections
Name | Type | Default | Description |
---|---|---|---|
className | String | '' | class name - Used for customizing the style. |
master
.yarn install
yarn test
or yarn test:watch
yarn storybook
and head to https://localhost:6006Push to github.
If you’ve fixed a bug or added code that should be tested, add tests.
Open a Pull Request with the following guidelines:
Once your Pull Request is issued, the test suite and build processes will run and your change will be reviewed.
FAQs
[](https://travis-ci.org/kenshoo/react-menu) [](https://badge.fury.io/js/%40kenshooui%2Freact-menu)
The npm package this-package-exports-the-number-214-and-its-name-is-also-two-hundred-and-fourteen-characters-long-which-is-the-longest-name-currently-allowed-by-the-npm-registry-to-see-how-a-name-that-long-would-look-if-you-did-ii receives a total of 3 weekly downloads. As such, this-package-exports-the-number-214-and-its-name-is-also-two-hundred-and-fourteen-characters-long-which-is-the-longest-name-currently-allowed-by-the-npm-registry-to-see-how-a-name-that-long-would-look-if-you-did-ii popularity was classified as not popular.
We found that this-package-exports-the-number-214-and-its-name-is-also-two-hundred-and-fourteen-characters-long-which-is-the-longest-name-currently-allowed-by-the-npm-registry-to-see-how-a-name-that-long-would-look-if-you-did-ii demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Product
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
Security News
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.
Product
We’re excited to announce a powerful new capability in Socket: historical data and enhanced analytics.