refactor(theme): unify components into ZB.MOM.WW.Theme namespace
Add @namespace ZB.MOM.WW.Theme to each component .razor file so the Razor compiler places all four components in the flat ZB.MOM.WW.Theme namespace rather than ZB.MOM.WW.Theme.Components. Remove the now- redundant global using ZB.MOM.WW.Theme.Components from both _Imports files. Also add @namespace ZB.MOM.WW.Theme to the root _Imports.razor. Consumers need only @using ZB.MOM.WW.Theme. All 14 tests green.
This commit is contained in:
@@ -2,4 +2,3 @@ global using Bunit;
|
||||
global using Xunit;
|
||||
global using Microsoft.AspNetCore.Components;
|
||||
global using ZB.MOM.WW.Theme;
|
||||
global using ZB.MOM.WW.Theme.Components;
|
||||
|
||||
Reference in New Issue
Block a user