Closed
Description
Using Flow:
type Props = {
+top?: SpacingType,
}
errors:
propType "+" is not required, but has no corresponding defaultProp declaration react/require-default-props
The +
prefix is throwing off the parser, causing it to look for a prop +
rather than the prop top
.
Using eslint-plugin-react@^7.5.1