From d7d45db53338b5e623bb81b59e7b66a588c18e28 Mon Sep 17 00:00:00 2001 From: LakeVostok Date: Mon, 22 Apr 2024 11:32:56 +0300 Subject: [PATCH] fix(ListItemView): removed max identation (#1535) --- .../useList/components/ListItemView/ListItemView.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/useList/components/ListItemView/ListItemView.tsx b/src/components/useList/components/ListItemView/ListItemView.tsx index 79cfed8203..aff283be05 100644 --- a/src/components/useList/components/ListItemView/ListItemView.tsx +++ b/src/components/useList/components/ListItemView/ListItemView.tsx @@ -60,7 +60,7 @@ export interface ListItemViewProps extends QAProps, ListItemCommonProps { } interface SlotProps extends FlexProps { - indentation?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10; + indentation?: number; } export const ListItemViewSlot = ({ @@ -77,7 +77,7 @@ export const ListItemViewSlot = ({ }; const renderSafeIndentation = (indentation?: number) => { - if (indentation && indentation >= 1 && indentation < 11) { + if (indentation && indentation >= 1) { return ( );