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

https://github.com/osedea/react-native-plus-button-box

A component to display an Android-like "+" button and display action items
https://github.com/osedea/react-native-plus-button-box

Last synced: 10 months ago
JSON representation

A component to display an Android-like "+" button and display action items

Awesome Lists containing this project

README

          

# react-native-plus-button-box
A component to display an Android-like "+" button and display action items

# Properties

Property Name | Type
--- | ---
actions | arrayOf(
{
key: string,
onPress: function,
text?: string
}
)
boxColor | string
buttonColor | string
underlayColor | string

# Usage

```js
import CallToActionBox from 'react-native-plus-button-box';

class MyComp extends Component {
render() {
return (
Alert.alert('Hello')
},
{
key: 'test2',
text: 'Test me again',
onPress: () => Alert.alert('Hello to you too')
}
]}
/>
);
}
}
```

# Result

![](./usage.gif)

Closed | Open
--- | ---
![](./closed.png) | ![](./open.png)