From 1516c8039fed6a065c067ca5b17d2e6b9c892e01 Mon Sep 17 00:00:00 2001 From: Wojciech Maj Date: Fri, 26 Apr 2024 14:56:09 +0200 Subject: [PATCH] Explicitly accept any props in Flex children --- packages/react-calendar/src/Flex.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/react-calendar/src/Flex.tsx b/packages/react-calendar/src/Flex.tsx index 6e7d3173..3a2a2273 100644 --- a/packages/react-calendar/src/Flex.tsx +++ b/packages/react-calendar/src/Flex.tsx @@ -1,7 +1,8 @@ import { Children, cloneElement } from 'react'; type FlexProps = React.HTMLAttributes & { - children: React.ReactElement[]; + // eslint-disable-next-line @typescript-eslint/no-explicit-any + children: React.ReactElement[]; className?: string; count: number; direction?: 'row' | 'column';