Skip to content

Commit

Permalink
feat: remove default active prop on web (#510)
Browse files Browse the repository at this point in the history
Remove the `defaultProps` since it is not necessary. Should fix #492.
  • Loading branch information
WoLewicki committed May 14, 2020
1 parent 13cfd2c commit aca5c18
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/screens.web.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ export function screensEnabled() {
}

export class NativeScreen extends React.Component {
static defaultProps = {
active: true,
};

render() {
const { active, style, ...rest } = this.props;

Expand Down

0 comments on commit aca5c18

Please sign in to comment.