Skip to content

Commit

Permalink
Merge pull request #1 from Bhullnatik/patch-1
Browse files Browse the repository at this point in the history
Fix typescript definition
  • Loading branch information
ahanriat authored Aug 2, 2017
2 parents d818985 + 3d5391f commit 675970e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
import * as React from 'react';
import { ViewProperties } from 'react-native';
import { ViewStyle } from 'react-native';

export interface BlurViewProperties {
blurType: 'xlight' | 'light' | 'dark'
// tvOS only
| 'extraDark' | 'regular' | 'prominent';
blurAmount?: number; // 0 - 100
style?: ViewProperties;
style?: ViewStyle;
}

export class BlurView extends React.Component<BlurViewProperties, {}> {}


export interface VibrancyViewProperties extends BlurView {}
export interface VibrancyViewProperties extends BlurViewProperties {}

export class VibrancyView extends React.Component<BlurViewProperties, {}> {}
export class VibrancyView extends React.Component<VibrancyViewProperties, {}> {}

0 comments on commit 675970e

Please sign in to comment.