From e2daf88776a26ef33e527a90ea49de2a6f492988 Mon Sep 17 00:00:00 2001 From: Paulo Date: Wed, 31 Jan 2024 15:53:48 +0000 Subject: [PATCH] Expose 'Config' From 'index.tsx' (#20) * Expose * Tweak --- .github/CODEOWNERS | 2 +- package-lock.json | 4 ++-- package.json | 2 +- src/index.ts | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 603d5e2..9b9b714 100755 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1 @@ -* @paulomfj @maikelvdzande @maartenbruggink \ No newline at end of file +* @paulomfj @maikelvdzande @maartenbruggink @brunotomedev \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index e9ed710..95c7085 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@buildinams/use-match-media", - "version": "0.2.0", + "version": "0.2.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@buildinams/use-match-media", - "version": "0.2.0", + "version": "0.2.1", "license": "MIT", "devDependencies": { "@babel/preset-env": "^7.23.8", diff --git a/package.json b/package.json index 59152d0..2fb6c92 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@buildinams/use-match-media", "description": "Stateful hook that uses the matchMedia API.", - "version": "0.2.0", + "version": "0.2.1", "license": "MIT", "author": "Build in Amsterdam (https://www.buildinamsterdam.com/)", "main": "dist/index.js", diff --git a/src/index.ts b/src/index.ts index bc671fd..411357f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -147,4 +147,4 @@ const useMatchMedia = < export default useMatchMedia; -export type { EventHandler, Query }; +export type { Config, EventHandler, Query };