This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| type MaterialDesignIconSymbol = | |
| | "10k" | |
| | "10k_outlined" | |
| | "10k_rounded" | |
| | "10k_sharp" | |
| | "10mp" | |
| | "10mp_outlined" | |
| | "10mp_rounded" | |
| | "10mp_sharp" | |
| | "11mp" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { decode } from "blurhash" | |
| const cache: Record<string, string> = {} | |
| export function blurHashToDataURL(hash: string | undefined): string | undefined { | |
| if (!hash) return undefined | |
| const cachedBlurDataURL = cache[hash] | |
| if(cachedBlurDataURL) { |