Unable to make my Components Public for Dynamic Icon.

The only step I cannot follow is when he add that variable. Making that Variable public is the only thing I was not able to do.