getDefaultProps should be method not an object