From fcf74639dec5a8d29d9469adf860ed31e97deca5 Mon Sep 17 00:00:00 2001 From: Maxim Date: Thu, 11 May 2023 19:24:24 +0300 Subject: [PATCH] feat: add correct types for `DefaultStyledBreakpointsTheme` (#1494) --- index.d.ts | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/index.d.ts b/index.d.ts index 52e49644..ba43de07 100644 --- a/index.d.ts +++ b/index.d.ts @@ -23,12 +23,10 @@ export type Between = ( export type Only = (name: BreakpointKeys, orientation?: Orientation) => string; export interface DefaultStyledBreakpointsTheme { - breakpoints: { - up: Up; - down: Down; - between: Between; - only: Only; - }; + up: Up; + down: Down; + between: Between; + only: Only; } interface Options {