Skip to content

Commit db43b21

Browse files
committed
fix typecheck & package-lock
1 parent 00ca57e commit db43b21

2 files changed

Lines changed: 2 additions & 49 deletions

File tree

package-lock.json

Lines changed: 0 additions & 48 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/Search/FilterDropdowns/DropdownButton.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import type {ReactNode} from 'react';
12
import React, {useMemo, useRef, useState} from 'react';
23
import type {View} from 'react-native';
34
import {useOnyx} from 'react-native-onyx';
@@ -28,7 +29,7 @@ type DropdownButtonProps = {
2829
viewportOffsetTop: number;
2930

3031
/** The component to render in the popover */
31-
PopoverComponent: React.FC<PopoverComponentProps>;
32+
PopoverComponent: (props: PopoverComponentProps) => ReactNode;
3233
};
3334

3435
const PADDING_MODAL = 8;

0 commit comments

Comments
 (0)