plugins icon indicating copy to clipboard operation
plugins copied to clipboard

Refactor defaultProps to default parameters

Open DanielKuhn opened this issue 5 months ago • 0 comments

Fixes React Native 0.74 warning: "Support for defaultProps will be removed from function components in a future major release."

In order to avoid "Failed prop type" warnings/errors for required props, also remove propTypes.

Since there are no more occurrences/usages of prop-types throughout the project, also remove the prop-types dependencies.

DanielKuhn avatar Sep 04 '24 14:09 DanielKuhn