This repository was archived by the owner on May 12, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -256,6 +256,12 @@ propType: `any`
256256
257257Use this to pass or overwrite styling for the camera window rendered.
258258
259+ #### ` cameraContainerStyle `
260+
261+ propType: ` any `
262+
263+ Use this to pass or overwrite styling for the camera container (view) window rendered.
264+
259265#### ` topViewStyle `
260266
261267propType: ` any `
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ export default class QRCodeScanner extends Component {
4040 customMarker : PropTypes . element ,
4141 containerStyle : PropTypes . any ,
4242 cameraStyle : PropTypes . any ,
43+ cameraContainerStyle : PropTypes . any ,
4344 markerStyle : PropTypes . any ,
4445 topViewStyle : PropTypes . any ,
4546 bottomViewStyle : PropTypes . any ,
@@ -349,7 +350,7 @@ export default class QRCodeScanner extends Component {
349350 < View style = { [ styles . infoView , this . props . topViewStyle ] } >
350351 { this . _renderTopContent ( ) }
351352 </ View >
352- < View style = { this . props . cameraStyle } > { this . _renderCamera ( ) } </ View >
353+ < View style = { this . props . cameraContainerStyle } > { this . _renderCamera ( ) } </ View >
353354 < View style = { [ styles . infoView , this . props . bottomViewStyle ] } >
354355 { this . _renderBottomContent ( ) }
355356 </ View >
You can’t perform that action at this time.
0 commit comments