20 lines
525 B
TypeScript
20 lines
525 B
TypeScript
// Legacy compatibility shim — maps to v2-repeater internals
|
|
export type UnifiedRepeaterConfig = any;
|
|
export type RepeaterColumnConfig = any;
|
|
|
|
export interface UnifiedRepeaterProps {
|
|
config: UnifiedRepeaterConfig;
|
|
parentId?: string;
|
|
data?: any[];
|
|
onDataChange?: (data: any[]) => void;
|
|
onRowClick?: (row: any) => void;
|
|
className?: string;
|
|
}
|
|
|
|
export const DEFAULT_REPEATER_CONFIG: UnifiedRepeaterConfig = {
|
|
dataSource: {},
|
|
columns: [],
|
|
modal: { buttonText: "검색" },
|
|
features: { multiSelect: true },
|
|
};
|