Skip to content

Commit b433530

Browse files
authored
fix: cardNumberField iconMap 타입 수정 (#886)
1 parent fd702c0 commit b433530

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/vibrant-components/src/lib/CustomizationProvider/CustomizationProvider.tsx

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
import type { ComponentType, FC } from 'react';
22
import { createContext, useContext, useMemo } from 'react';
3-
import type { ReactElementChild, ResponsiveValue } from '@vibrant-ui/core';
3+
import type { ReactElementChild } from '@vibrant-ui/core';
4+
import type { IconProps } from '@vibrant-ui/icons';
45

56
export type Configurations = {
67
avatar?: {
78
placeholder: string;
89
};
910
cardNumberField?: {
10-
cardIconMap: Record<string, ComponentType<{ size?: ResponsiveValue<number> }>>;
11+
cardIconMap: Record<string, ComponentType<{ size?: IconProps['size'] }>>;
1112
};
1213
};
1314

0 commit comments

Comments
 (0)