refactor to use hidden as the property for legacy and internal icons

This commit is contained in:
Niels Lyngsø
2025-01-29 13:55:01 +01:00
parent f2b337a0be
commit fccd203bdc
3 changed files with 6 additions and 1 deletions

View File

@@ -47,6 +47,7 @@ const collectDictionaryIcons = async () => {
const icon = {
name: iconDef.name,
legacy: iconDef.legacy,
hidden: iconDef.legacy ?? iconDef.internal,
fileName: iconFileName,
svg,
output: `${iconsOutputDirectory}/${iconFileName}.ts`,