After inserting cmp_MD_Navigation_Drawer component into Power App, there was a reference error. Found out that textColorHex not defined in second code block (i.e Set(defaults, Patch(defaults, {...}.
Added the following line and error is resolved:
textColorHex: Match(JSON(defaults.textColor,IgnoreUnsupportedTypes),"#[a-fA-F0-9]{6}").FullMatch
After inserting cmp_MD_Navigation_Drawer component into Power App, there was a reference error. Found out that textColorHex not defined in second code block (i.e Set(defaults, Patch(defaults, {...}.
Added the following line and error is resolved:
textColorHex: Match(JSON(defaults.textColor,IgnoreUnsupportedTypes),"#[a-fA-F0-9]{6}").FullMatch