react-native-hole-view
Version:
Component to made an overlay with touch-through hole
183 lines • 6 kB
JSON
{
"modules": {
"RNHoleView": {
"type": "Component",
"components": {
"RNHoleView": {
"extendsProps": [
{
"type": "ReactNativeBuiltInType",
"knownTypeName": "ReactNativeCoreViewProps"
}
],
"events": [
{
"name": "onAnimationFinished",
"optional": true,
"bubblingType": "bubble",
"typeAnnotation": {
"type": "EventTypeAnnotation",
"argument": {
"type": "ObjectTypeAnnotation",
"properties": []
}
}
}
],
"props": [
{
"name": "holes",
"optional": true,
"typeAnnotation": {
"type": "ArrayTypeAnnotation",
"elementType": {
"type": "ObjectTypeAnnotation",
"properties": [
{
"name": "height",
"optional": false,
"typeAnnotation": {
"type": "Int32TypeAnnotation",
"default": 0
}
},
{
"name": "width",
"optional": false,
"typeAnnotation": {
"type": "Int32TypeAnnotation",
"default": 0
}
},
{
"name": "x",
"optional": false,
"typeAnnotation": {
"type": "Int32TypeAnnotation",
"default": 0
}
},
{
"name": "y",
"optional": false,
"typeAnnotation": {
"type": "Int32TypeAnnotation",
"default": 0
}
},
{
"name": "borderRadius",
"optional": true,
"typeAnnotation": {
"type": "Int32TypeAnnotation",
"default": 0
}
},
{
"name": "isRTL",
"optional": true,
"typeAnnotation": {
"type": "BooleanTypeAnnotation",
"default": false
}
},
{
"name": "borderTopLeftRadius",
"optional": true,
"typeAnnotation": {
"type": "Int32TypeAnnotation",
"default": 0
}
},
{
"name": "borderTopRightRadius",
"optional": true,
"typeAnnotation": {
"type": "Int32TypeAnnotation",
"default": 0
}
},
{
"name": "borderBottomLeftRadius",
"optional": true,
"typeAnnotation": {
"type": "Int32TypeAnnotation",
"default": 0
}
},
{
"name": "borderBottomRightRadius",
"optional": true,
"typeAnnotation": {
"type": "Int32TypeAnnotation",
"default": 0
}
},
{
"name": "borderTopStartRadius",
"optional": true,
"typeAnnotation": {
"type": "Int32TypeAnnotation",
"default": 0
}
},
{
"name": "borderTopEndRadius",
"optional": true,
"typeAnnotation": {
"type": "Int32TypeAnnotation",
"default": 0
}
},
{
"name": "borderBottomStartRadius",
"optional": true,
"typeAnnotation": {
"type": "Int32TypeAnnotation",
"default": 0
}
},
{
"name": "borderBottomEndRadius",
"optional": true,
"typeAnnotation": {
"type": "Int32TypeAnnotation",
"default": 0
}
}
]
}
}
},
{
"name": "animation",
"optional": true,
"typeAnnotation": {
"type": "ObjectTypeAnnotation",
"properties": [
{
"name": "duration",
"optional": true,
"typeAnnotation": {
"type": "Int32TypeAnnotation",
"default": 0
}
},
{
"name": "timingFunction",
"optional": true,
"typeAnnotation": {
"type": "StringTypeAnnotation",
"default": null
}
}
]
}
}
],
"commands": []
}
}
}
}
}