feat(SW-214): Implement usp component
This commit is contained in:
11
components/Blocks/UspGrid/utils.ts
Normal file
11
components/Blocks/UspGrid/utils.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { UspIcon } from "@/types/components/blocks/uspGrid"
|
||||
import { IconName } from "@/types/components/icon"
|
||||
|
||||
export function getUspIconName(icon?: UspIcon | null) {
|
||||
switch (icon) {
|
||||
case "Snowflake":
|
||||
return IconName.Snowflake
|
||||
default:
|
||||
return IconName.Snowflake
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user