Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
selectOnBlur={false}
/>
)
}
PlantCommunityAction.propTypes = {
action: PropTypes.object.isRequired,
namespace: PropTypes.string.isRequired,
onDelete: PropTypes.func.isRequired,
formik: PropTypes.object.isRequired
}
export default connect(PlantCommunityAction)
name: PropTypes.string.isRequired,
required: PropTypes.bool,
text: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
}
Checkbox.defaultProps = {
className: null,
disabled: false,
hint: null,
id: null,
label: null,
required: false,
text: null,
}
export default connect(Checkbox)
PropTypes.number,
]).isRequired,
})).isRequired,
required: PropTypes.bool,
}
Radio.defaultProps = {
className: null,
disabled: false,
hint: null,
id: null,
label: null,
required: false,
}
export default connect(Radio)
}
/>
)
}
MinisterIssueBox.propTypes = {
issue: PropTypes.object.isRequired,
ministerIssueIndex: PropTypes.number.isRequired,
activeMinisterIssueIndex: PropTypes.number.isRequired,
onMinisterIssueClicked: PropTypes.func.isRequired,
namespace: PropTypes.string.isRequired,
formik: PropTypes.object.isRequired
}
export default connect(MinisterIssueBox)
notes: PropTypes.string.isRequired,
communityType: PropTypes.object,
communityTypeId: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
.isRequired,
monitoringAreas: PropTypes.array.isRequired
}),
index: PropTypes.number.isRequired,
activeIndex: PropTypes.number.isRequired,
onClick: PropTypes.func.isRequired,
namespace: PropTypes.string.isRequired,
formik: PropTypes.shape({
setFieldValue: PropTypes.func.isRequired
})
}
export default connect(PlantCommunityBox)
<textarea placeholder="{placeholder}" name="{name}" value="{value}"> {fieldError && <Error>{fieldError}</Error>}
</InputContainer>
);
};
export default connect(TextareaFormik);
</textarea>
}}
/>
)
}
Import.propTypes = {
formik: PropTypes.shape({
values: PropTypes.shape({
pastures: PropTypes.array.isRequired
})
}),
onSubmit: PropTypes.func.isRequired
}
export default connect(Import)