import { __, sprintf } from '@wordpress/i18n'; import Input from './Input'; import Select from './Select'; import Toggle from './Toggle'; type SectionHeaderSettingsCardProps = { moduleLabel: string; enabled: boolean; onEnabledChange: ( value: boolean ) => void; text: string; onTextChange: ( value: string ) => void; level: 'h2' | 'h3' | 'h4'; onLevelChange: ( value: 'h2' | 'h3' | 'h4' ) => void; textPlaceholder?: string; gridClassName?: string; }; const SectionHeaderSettingsCard = ( { moduleLabel, enabled, onEnabledChange, text, onTextChange, level, onLevelChange, textPlaceholder, gridClassName = 'md:grid-cols-3', }: SectionHeaderSettingsCardProps ) => (

{ __( 'Section header', 'airygen-seo' ) }

{ sprintf( /* translators: %s is the module name. */ __( 'Control the heading shown above %s output.', 'airygen-seo' ), moduleLabel, ) }

{ sprintf( /* translators: %s is the module name. */ __( 'Set the heading text shown above %s output.', 'airygen-seo' ), moduleLabel, ) }