1.1.12 • Published 3 years ago
alana-react-native-media-upload v1.1.12
alana-react-native-media-upload
- Version 1.0.0
How do I get set up?
- Add module to your project
yarn add alana-react-native-media-upload
- Module Dependencies
react-native-elements: "2.2.1",
react-native-vector-icons: "7.0.0",
react-native-linear-gradient: "2.5.6",
react-native-circular-progress: "1.3.6",
react-native-image-picker: "3.0.0",
react-native-image-resizer: "1.4.1",
react-native-camera-kit: "10.0.0",
@fortawesome/fontawesome-pro: "5.15.1",
@fortawesome/fontawesome-svg-core: "1.2.32",
@fortawesome/free-brands-svg-icons: "5.15.1",
@fortawesome/free-regular-svg-icons: "5.15.1",
@fortawesome/free-solid-svg-icons: "5.15.1",
@fortawesome/pro-duotone-svg-icons: "5.15.1",
@fortawesome/pro-light-svg-icons: "5.15.1",
@fortawesome/pro-regular-svg-icons: "5.15.1",
@fortawesome/pro-solid-svg-icons: "5.15.1",
@fortawesome/react-native-fontawesome: "0.2.6"
How to use.
The module consists of a few components and a Utils:
- Photo Request component
import { PhotoRequestComponent } from 'alana-react-native-media-upload';
<PhotoRequestComponent/
photoTitleText={"TITLE"}
photoDescriptionText={"DESCRIPTION"}
takePhoto={true}
cameraRoll={false}
removePhotoAlertTitle={"Alert Title"}
removePhotoAlertBody={"Alert Body"}
enableOverlay={tue}
overlayType={'circle'} // 'circle' | 'square' | 'rectangle' | 'oval'
renderPageHeader={<Component>}
onSubmit={() => {}}
onRemovePhoto={() => {}}
saveImage={(fileName: string, filePath: string) => {}}
image={"<filepath>"}
takePhotoButton={() => {}}
cameraModalVisible={true}
cameraRollButton={false}
minHeight={1024}
minWidth={1024}
>
- Photo Modal
import { PhotoModal } from 'alana-react-native-media-upload';
<PhotoModal
saveImage={(fileName: string, filePath: string) => {}}
modalVisibile={true}
showHideModal={(show: boolean) => {setShow(show)}}
showOverlay={true}
overlayType={'circle'} //'circle' | 'square' | 'rectangle' | 'oval';
/>
Who do I talk to?
- Repo owner or admin
- Other community or team contact
1.1.9
3 years ago
1.1.8
3 years ago
1.1.7
3 years ago
1.1.6
3 years ago
1.1.5
3 years ago
1.1.4
3 years ago
1.1.12
3 years ago
1.1.11
3 years ago
1.1.10
3 years ago
1.1.1
4 years ago
1.0.2
4 years ago
1.1.0
4 years ago
1.1.3
4 years ago
1.1.2
4 years ago
1.0.3
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago
0.4.4
4 years ago
0.4.3
4 years ago
0.4.1
4 years ago
0.4.2
4 years ago
0.3.2
4 years ago
0.4.0
4 years ago
0.3.1
4 years ago
0.3.0
4 years ago
0.2.0
5 years ago
0.1.5
5 years ago
0.1.4
5 years ago
0.1.3
5 years ago
0.1.2
5 years ago
0.1.1
5 years ago
0.1.0
5 years ago