From 774f19475a658ed7c4cb1e4ba8e4e56d14905252 Mon Sep 17 00:00:00 2001 From: Miroslav Petrik Date: Wed, 6 Mar 2024 14:14:32 +0100 Subject: [PATCH] fix(List): don't export internal props --- src/components/list/List.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/list/List.tsx b/src/components/list/List.tsx index 35db345..907c211 100644 --- a/src/components/list/List.tsx +++ b/src/components/list/List.tsx @@ -6,18 +6,18 @@ import type { ListAtom, ListItem } from "../../atoms/list-atom"; import { useList } from "../../hooks"; export type RemoveButtonProps = { remove: () => void }; -export type RemoveButtonProp = RenderProp; +type RemoveButtonProp = RenderProp; export type AddButtonProps> = { add: (fields?: Fields) => void; }; -export type AddButtonProp = RenderProp< +type AddButtonProp = RenderProp< AddButtonProps, "AddButton" >; -export type EmptyProp = RenderProp; +type EmptyProp = RenderProp; export type ListItemProps = { /**