react typescript optional props with default value