@1d1s/design-system 0.2.26 → 0.2.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/ImagePicker/ImagePicker.d.ts +7 -1
- package/dist/index.es.js +480 -478
- package/dist/index.umd.js +3 -3
- package/package.json +1 -1
|
@@ -14,6 +14,12 @@ export interface ImagePickerProps {
|
|
|
14
14
|
helperText?: string;
|
|
15
15
|
/** 선택 해제 버튼 텍스트 (기본값: "선택 해제") */
|
|
16
16
|
clearLabel?: string;
|
|
17
|
+
/**
|
|
18
|
+
* 드롭존 영역의 크기·비율을 지정하는 className.
|
|
19
|
+
* 기본값: `aspect-video`
|
|
20
|
+
* @example "aspect-[4/1]", "aspect-square", "h-64"
|
|
21
|
+
*/
|
|
22
|
+
dropZoneClassName?: string;
|
|
17
23
|
/** 추가 className */
|
|
18
24
|
className?: string;
|
|
19
25
|
}
|
|
@@ -41,4 +47,4 @@ export interface ImagePickerProps {
|
|
|
41
47
|
* />
|
|
42
48
|
* ```
|
|
43
49
|
*/
|
|
44
|
-
export declare function ImagePicker({ previewUrl, onSelectFile, onClear, placeholderTitle, placeholderSubtitle, helperText, clearLabel, className, }: ImagePickerProps): React.ReactElement;
|
|
50
|
+
export declare function ImagePicker({ previewUrl, onSelectFile, onClear, placeholderTitle, placeholderSubtitle, helperText, clearLabel, dropZoneClassName, className, }: ImagePickerProps): React.ReactElement;
|