Component in required and optional