diff --git a/index.d.ts b/index.d.ts index 4b52fbbf..a946df93 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1,18 +1,22 @@ import * as React from 'react'; -import { ViewStyle } from 'react-native'; +import { StyleProp, ViewStyle } from 'react-native'; export interface BlurViewProperties { - blurType: 'xlight' | 'light' | 'dark' + blurType: + | 'xlight' + | 'light' + | 'dark' // tvOS only - | 'extraDark' | 'regular' | 'prominent'; + | 'extraDark' + | 'regular' + | 'prominent'; blurAmount?: number; // 0 - 100 - style?: ViewStyle; + style?: StyleProp; viewRef?: number | null; } export class BlurView extends React.Component {} - export interface VibrancyViewProperties extends BlurViewProperties {} export class VibrancyView extends React.Component {}