fix(suite): Fix type

This commit is contained in:
Jan Václavík
2026-02-17 16:25:56 +01:00
parent a41a05db6a
commit 0da1b62dc1

View File

@@ -1,10 +1,11 @@
import type { Padding } from '../../utils/frameProps';
import { Row } from '../Flex/Flex';
import { GhostContainer, type GhostContainerProps } from '../GhostContainer/GhostContainer';
export const cardListItemPaddingTypes = ['normal', 'small'] as const;
export type CardListItemPaddingType = (typeof cardListItemPaddingTypes)[number];
const paddingMap: Record<CardListItemPaddingType, { vertical: number; horizontal: number }> = {
const paddingMap: Record<CardListItemPaddingType, Padding> = {
normal: { vertical: 16, horizontal: 20 },
small: { vertical: 8, horizontal: 12 },
};