Open dsmmcken opened 2 years ago
Discovered when tooltips started failing because of a new onExited defaultProp, and discovered they are not actually being set.
Audited and found the above by search for "static defaultProps"
The default value is being set so this is not as bad as previously thought. The problem is TypeScript isn't properly type checking it, as some properties are not marked optional when they have a default value.
The follow components should be using this method for typing props and default props