import React from 'react';
import { ViewProps, requireNativeComponent } from 'react-native';

interface CSQMaskedViewProps extends ViewProps {
  children?: React.ReactNode;
}

const CSQMaskedViewNative =
  requireNativeComponent<CSQMaskedViewProps>('CSQMaskedView');

const CSQMaskedView: React.FC<CSQMaskedViewProps> = props => {
  return <CSQMaskedViewNative {...props} />;
};

export default CSQMaskedView;
