allow single component and wrap it in an array