Skip to content

Commit

Permalink
chore: rm defaultProps
Browse files Browse the repository at this point in the history
  • Loading branch information
li-jia-nan committed Apr 30, 2024
1 parent 097547c commit a760502
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/Field.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,6 @@ export interface FieldState {
class Field extends React.Component<InternalFieldProps, FieldState> implements FieldEntity {
public static contextType = FieldContext;

public static defaultProps = {
trigger: 'onChange',
valuePropName: 'value',
};

public state = {
resetCount: 0,
};
Expand Down

0 comments on commit a760502

Please sign in to comment.