From 8e1c14cda3602886d7480cd73a22adf12662c7a9 Mon Sep 17 00:00:00 2001 From: Nicolas Charpentier Date: Wed, 1 Jun 2016 13:25:59 -0400 Subject: [PATCH] Export constants (#305) --- index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.js b/index.js index 1a60919..fb8b0d9 100644 --- a/index.js +++ b/index.js @@ -218,6 +218,8 @@ export default class Camera extends Component { } } +export const constants = Camera.constants; + const RCTCamera = requireNativeComponent('RCTCamera', Camera); const styles = StyleSheet.create({