mirror of
https://github.com/status-im/react-native-blur.git
synced 2025-01-12 17:44:13 +00:00
compliant with React Native 0.25 breaking changes
This commit is contained in:
parent
6d7a9ab249
commit
5a2c27a4ae
@ -1,11 +1,5 @@
|
||||
const React = require('react');
|
||||
const {View} = require('react-native');
|
||||
const {
|
||||
Component,
|
||||
PropTypes
|
||||
} = React;
|
||||
|
||||
const { requireNativeComponent } = require('react-native');
|
||||
import React, { Component, PropTypes } from 'react';
|
||||
import { View, requireNativeComponent } from 'react-native';
|
||||
|
||||
class BlurView extends Component {
|
||||
render() {
|
||||
|
@ -1,10 +1,5 @@
|
||||
const React = require('react');
|
||||
const {
|
||||
Component,
|
||||
PropTypes
|
||||
} = React;
|
||||
|
||||
const { requireNativeComponent } = require('react-native');
|
||||
import React, { Component, PropTypes } from 'react';
|
||||
import { requireNativeComponent } from 'react-native';
|
||||
|
||||
class BlurView extends Component {
|
||||
render() {
|
||||
|
@ -1,4 +1,4 @@
|
||||
const React = require('react');
|
||||
import React from 'react';
|
||||
|
||||
class VibrancyView extends React.Component {
|
||||
render() {
|
||||
|
@ -1,10 +1,5 @@
|
||||
const React = require('react');
|
||||
const {
|
||||
Component,
|
||||
PropTypes
|
||||
} = React;
|
||||
|
||||
const { requireNativeComponent } = require('react-native');
|
||||
import React, { Component, PropTypes } from 'react';
|
||||
import { requireNativeComponent } from 'react-native';
|
||||
|
||||
class VibrancyView extends Component {
|
||||
render() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user