From 4e767838df07a91f64608e0fa1bf5fd2c99177c7 Mon Sep 17 00:00:00 2001 From: "Martin V." Date: Sat, 10 Aug 2024 12:33:21 +0200 Subject: [PATCH] v2.3.6 (#262) * Update props interface based on original typings * Bump version number --- package.json | 2 +- src/Countdown.tsx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index b759dfd..d325450 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-countdown", - "version": "2.3.5", + "version": "2.3.6", "description": "A customizable countdown component for React.", "main": "./dist/index.js", "module": "./dist/index.es.js", diff --git a/src/Countdown.tsx b/src/Countdown.tsx index e00fcd7..2c1b77e 100644 --- a/src/Countdown.tsx +++ b/src/Countdown.tsx @@ -13,9 +13,9 @@ import { } from './utils'; interface Props { - children?: React.ReactNode; - key?: React.Key; - ref?: React.LegacyRef; + children?: React.ReactNode | undefined; + key?: React.Key | undefined; + ref?: React.LegacyRef | undefined; } export interface CountdownProps