From adbef0fd1c477a3a447a2fb88777656250cd68c4 Mon Sep 17 00:00:00 2001 From: "Nyasha (Nash) Nziramasanga" <47994666+NyashaNziramasanga@users.noreply.github.com> Date: Mon, 18 Dec 2023 15:02:13 +1030 Subject: [PATCH] Update Popable children type --- src/Popable.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Popable.tsx b/src/Popable.tsx index 75f214e..1a18a1a 100644 --- a/src/Popable.tsx +++ b/src/Popable.tsx @@ -26,7 +26,7 @@ export type PopableProps = { backgroundColor?: PopoverProps['backgroundColor']; caret?: PopoverProps['caret']; caretPosition?: PopoverProps['caretPosition']; - children: any; + children: PopoverProps['children']; content: PopoverProps['children']; numberOfLines?: PopoverProps['numberOfLines']; onAction?: (visible: boolean) => void;