Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sasha240100/react-rectangle-popup-menu

React rectangle popup menu library
https://github.com/sasha240100/react-rectangle-popup-menu

Last synced: 2 months ago
JSON representation

React rectangle popup menu library

Awesome Lists containing this project

README

        

# react-rectangle-popup-menu
[![](https://img.shields.io/travis/sasha240100/react-rectangle-popup-menu.svg)](https://travis-ci.org/sasha240100/react-rectangle-popup-menu)
[![](https://badge.fury.io/js/react-rectangle-popup-menu.svg)](https://www.npmjs.com/package/react-rectangle-popup-menu)

[![](https://nodei.co/npm/react-rectangle-popup-menu.png)](https://www.npmjs.com/package/react-rectangle-popup-menu)

React rectangle popup menu library. [Demo](https://sasha240100.github.io/react-rectangle-popup-menu/examples/)

![](./assets/record.gif)

### ``

```js
class Popup {
render() {

// Content

}
}
```

#### Parameters for ``

```js
{
width: ?number = 200,
height: ?(number | 'auto') = 'auto', // If auto it's minimized to rows size
direction: ?('top' | 'bottom' | 'left' | 'right') = 'top',
button: ReactNode
}
```

### ``

```js
import FontAwesome from 'react-fontawesome';

const button = ();

class Popup {
render() {













}
}
```

#### Parameters for ``

```js
{
// Items per row (used to generate normal width of placeholder)
rowItems: ?number = 1
}
```

### ``
```js
class Popup {
render() {

Some text

}
}
```