react-native-masked-view
react-native-masked-view copied to clipboard
Masked View Component for React
### Expected behavior It should allow to use svg images as as mask ### Actual behavior Doesn't work ### Steps to reproduce the behavior (include versions)
Hi, I got an error while using the component. I'm using v0.44.0 the latest
npm ERR! peer dep missing: react-native@^0.10.1, required by [email protected] react-native --version react-native-cli: 1.0.0 react-native: 0.41.2 I'm confused... why is the latest version of react-native not working? I'm not great at...
I have a component composed of multiple components that I'd like to round the corners of, borderRadius however doesn't round off child components with content such as backgroundColor being set....
consider adding this to the component, see http://stackoverflow.com/questions/2306043/uiview-border-with-fade-or-blur-effect ``` objc CALayer *viewLayer = [self layer]; CALayer* maskLayer = [CALayer layer]; maskLayer.bounds = viewLayer.bounds; [maskLayer setPosition:CGPointMake(CGRectGetWidth(viewLayer.frame)/2.0, CGRectGetHeight(viewLayer.frame)/2.0)]; CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB();...