We have monorepo with library and app. Inside library we have component that accepts Icon type which is union of all icon file names (see code below). Reason why didnt go with