import React from 'react' import { TextControl } from '@wordpress/components' import { __ } from '@wordpress/i18n' import { EnvironmentDisclosure } from './EnvironmentDisclosure' import type { FeedbackConfig, FeedbackDraft } from '../../types/Feedback' export interface ReporterFieldsProps { config: FeedbackConfig draft: FeedbackDraft updateDraft: (changes: Partial) => void } export const ReporterFields: React.FC = ({ config, draft, updateDraft }) => <>
updateDraft({ name })} />
updateDraft({ email })} />