Cannot Insert Variable to TArray

I have a class extending AActor and it holds an actor component “SpellCasterComponent”. This component is responsible for holding an array of spells with TArray. I want to create variables and insert them into the array inside a blueprint class. I cannot succeed it. I created and initialized variables but my actor component does not see my variables.