Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
)
}
}
FieldGuideItem.defaultProps = {
className: '',
icons: observable.map()
}
FieldGuideItem.propTypes = {
className: PropTypes.string,
icons: MobXPropTypes.observableMap,
item: PropTypes.object.isRequired,
setActiveItemIndex: PropTypes.func.isRequired
}
@inject(storeMapper)
@withTheme
@observer
class DecoratedFieldGuideItem extends FieldGuideItem { }
export default DecoratedFieldGuideItem
export { FieldGuideItem }
type='radio'
/>
)
})}
)
}
}
DataVisAnnotationTask.wrappedComponent.defaultProps = {
annotations: observable.map(),
task: {}
}
DataVisAnnotationTask.wrappedComponent.propTypes = {
annotations: MobXPropTypes.observableMap,
task: PropTypes.shape({
help: PropTypes.string,
instruction: PropTypes.string,
required: PropTypes.bool
})
}
export default DataVisAnnotationTask
/>
)
}
}
FieldGuideItemAnchor.wrappedComponent.defaultProps = {
className: '',
icons: observable.map(),
theme: {
dark: false
}
}
FieldGuideItemAnchor.wrappedComponent.propTypes = {
className: PropTypes.string,
icons: MobXPropTypes.observableMap,
item: PropTypes.object.isRequired,
setActiveItemIndex: PropTypes.func.isRequired,
theme: PropTypes.shape({
dark: PropTypes.bool
})
}
export default withTheme(FieldGuideItemAnchor)
export { FieldGuideItemAnchor }
onSubmit={this.onSubmit.bind(this)}
/>
)
}
}
TaskNavButtonsContainer.wrappedComponent.defaultProps = {
completeClassification: () => {},
disabled: false,
selectStep: () => {},
tasks: []
}
TaskNavButtonsContainer.wrappedComponent.propTypes = {
classification: PropTypes.shape({
annotations: MobXPropTypes.observableMap
}),
completeClassification: PropTypes.func,
disabled: PropTypes.bool,
showBackButton: PropTypes.bool,
showNextButton: PropTypes.bool,
selectStep: PropTypes.func,
tasks: PropTypes.arrayOf(PropTypes.object)
}
export default TaskNavButtonsContainer
type='radio'
/>
)
})}
)
}
}
DrawingTask.defaultProps = {
annotations: observable.map(),
task: {}
}
DrawingTask.propTypes = {
annotations: MobXPropTypes.observableMap,
task: PropTypes.shape({
help: PropTypes.string,
instruction: PropTypes.string,
required: PropTypes.bool
})
}
export default DrawingTask