feat. 환경 세팅
This commit is contained in:
17
layers/types/utils/dataUtil.ts
Normal file
17
layers/types/utils/dataUtil.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
export type ImageType = "img" | "bg";
|
||||
|
||||
export interface ResponsiveImagePath {
|
||||
path_mo?: string;
|
||||
path_pc?: string;
|
||||
}
|
||||
|
||||
export type ResponsiveImageResult =
|
||||
| {
|
||||
mobileSrc: string;
|
||||
pcSrc: string;
|
||||
}
|
||||
| {
|
||||
"--pc-bg": string;
|
||||
"--mobile-bg": string;
|
||||
}
|
||||
| null;
|
||||
Reference in New Issue
Block a user