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
- Host: GitHub
- URL: https://github.com/osedea/react-native-plus-button-box
- Owner: Osedea
- License: mit
- Created: 2016-05-31T16:51:33.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2018-11-05T15:10:30.000Z (over 7 years ago)
- Last Synced: 2025-06-10T07:53:41.949Z (12 months ago)
- Language: JavaScript
- Size: 354 KB
- Stars: 6
- Watchers: 25
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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

Closed | Open
--- | ---
 | 