diff --git a/index.d.ts b/index.d.ts new file mode 100644 index 0000000..9d5114d --- /dev/null +++ b/index.d.ts @@ -0,0 +1,17 @@ +import * as React from 'react'; +import { ViewStyle } from 'react-native'; + +export interface BlurViewProperties { + blurType: 'xlight' | 'light' | 'dark' + // tvOS only + | 'extraDark' | 'regular' | 'prominent'; + blurAmount?: number; // 0 - 100 + style?: ViewStyle; +} + +export class BlurView extends React.Component {} + + +export interface VibrancyViewProperties extends BlurViewProperties {} + +export class VibrancyView extends React.Component {}