Expo Camera View Styling

#1

I want to make the corners of Camera rounded. The best I’ve got is to make another view and give it a border radius but the sharp corners of camera still stick out of the box. My code snippet

 <Camera ref={ref => { this.camera = ref }} style={{ height:'75%',width:'90%',borderRadius:10,borderColor:'black',borderWidth:2 }} type={this.state.type}/>

Still getting sharp corners

#2

What happens if you add:

overflow: 'hidden'

To the Camera component?

#3

Didn’t work

closed #4

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.