UNPKG

@react-native-community/masked-view

Version:
14 lines (12 loc) 349 B
// @flow import { type Node, type Element } from 'react'; import { ViewPropTypes } from 'react-native'; export type MaskedViewProps = typeof ViewPropTypes & $ReadOnly<{| children: Node, /** * Should be a React element to be rendered and applied as the * mask for the child element. */ maskElement: Element<any>, |}>;