@senka-ai/ui
Version:
A modern, type-safe Svelte 5 UI component library with full theme support, accessibility standards, and robust state management patterns
30 lines • 805 B
TypeScript
import type { BaseProps } from '../../type/component';
interface ListItemData {
id?: string;
title: string;
description?: string;
leftIcon?: any;
rightIcon?: any;
rightControl?: any;
showChevron?: boolean;
clickable?: boolean;
disabled?: boolean;
onclick?: () => void;
[key: string]: any;
}
interface Props extends BaseProps {
title?: string;
rightText?: string;
rightIcon?: any;
onRightClick?: () => void;
items?: ListItemData[];
showDividers?: boolean;
dividerVariant?: 'solid' | 'dashed' | 'dotted';
compact?: boolean;
iconSize?: number;
children?: any;
}
declare const List: import("svelte").Component<Props, {}, "">;
type List = ReturnType<typeof List>;
export default List;
//# sourceMappingURL=List.svelte.d.ts.map