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 ( );