Skip to content

Commit

Permalink
Explicitly accept any props in Flex children
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj committed Apr 26, 2024
1 parent 039d20d commit 1516c80
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/react-calendar/src/Flex.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { Children, cloneElement } from 'react';

type FlexProps = React.HTMLAttributes<HTMLDivElement> & {
children: React.ReactElement[];
// eslint-disable-next-line @typescript-eslint/no-explicit-any
children: React.ReactElement<any>[];
className?: string;
count: number;
direction?: 'row' | 'column';
Expand Down

0 comments on commit 1516c80

Please sign in to comment.