import PropTypes from 'prop-types'; import React from 'react'; import FieldSet from 'Components/FieldSet'; import Form from 'Components/Form/Form'; import FormGroup from 'Components/Form/FormGroup'; import FormInputGroup from 'Components/Form/FormInputGroup'; import FormLabel from 'Components/Form/FormLabel'; import LoadingIndicator from 'Components/Loading/LoadingIndicator'; import { inputTypes } from 'Helpers/Props'; import translate from 'Utilities/String/translate'; const writeBookTagOptions = [ { key: 'sync', value: 'All files; keep in sync with Goodreads' }, { key: 'allFiles', value: 'All files; initial import only' }, { key: 'newFiles', value: 'For new downloads only' } ]; function MetadataProvider(props) { const { isFetching, error, settings, hasSettings, onInputChange } = props; return (