Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
)}
<button style="{{">
重置
</button>
)
}
}
Filter.wrappedComponent.propTypes = {
categories: ObservablePropTypes.observableArray.isRequired,
}
export default Form.create({
mapPropsToFields: ({ data = {} }) => {
return {
name: { value: data.name },
manufacturer: { value: data.manufacturer },
productionDate: { value: data.productionDate ? moment(data.productionDate) : null },
price: { value: data.price },
category: { value: data.category },
}
},
})(Filter)