React Native Component for displaying content in an animated accordian style container. Based on https://github.com/jvaclavik/react-native-show-hide-toggle-box
npm install react-native-togglebox* The ToggleBox scene should be wrapped in a ScrollView to allow the page to grow as the toggle opens
* PRs welcome
``bash`
npm i react-native-togglebox --save
or
`bash`
yarn add react-native-togglebox --save
`javascript
import ToggleBox from 'react-native-show-hide-toggle-box'
...
`
|Prop name | Default prop | Required | Note
| --- | --- | --- | --- |
| arrowColor | rgb(178, 178, 178) | - | - |arrowSize
| | 30 | - | - |arrowDownType
| | 'keyboard-arrow-down' | - | Icon name fromreact-native-vector-icons/MaterialIcons |arrowUpType
| | 'keyboard-arrow-up' | - | Icon name fromreact-native-vector-icons/MaterialIcons |children
| | - | Yes | Element which you want to show inside of the box |expanded
| | false | - | Boolean if box should be expanded or not |label
| | - | Yes | Left label on the left of title |style
| | {} | - | Custom styles |value
| | null` | - | Value on the right title |