Skip to content

Commit

Permalink
feat: add correct types for DefaultStyledBreakpointsTheme (#1494)
Browse files Browse the repository at this point in the history
  • Loading branch information
mg901 authored May 11, 2023
1 parent 637ec52 commit fcf7463
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit fcf7463

Please sign in to comment.