react typescript optional props