Nesting TArray's inside TSharedRef

TSharedRef<TArray<STextBox>> TextBox;
TextBox[1] = SNew(STextBox);
TextBox[2] = SNew(STextBox);

Something like this but it has compilation issues