From bcc67a0d5a669a5c3f6b3c794c0b1de7abc9e1c1 Mon Sep 17 00:00:00 2001 From: mg901 Date: Tue, 12 Nov 2019 21:37:51 +0300 Subject: [PATCH] feat: add export for interfaces --- src/index.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/index.ts b/src/index.ts index 86a71d7b..ae7d1b39 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,21 +1,21 @@ -interface IProps { +export interface IProps { theme: object; } -type Orientation = 'portrait' | 'landscape'; +export type Orientation = 'portrait' | 'landscape'; -interface IMediaQueries { +export interface IMediaQueries { [key: string]: string; } -interface IOptions { +export interface IOptions { _browserContext?: number; pathToMediaQueries?: string[]; errorPrefix?: string; defaultMediaQueries?: IMediaQueries; } -interface IState { +export interface IState { _browserContext: number; pathToMediaQueries: string[]; errorPrefix: string;