/** * Setting Row Component * * Standard row layout with label/description on left, control on right * * @package ProRank\SEO * @since 1.0.0 */ import { ReactNode } from '@wordpress/element'; interface SettingRowProps { label: string; description?: string; children: ReactNode; } const SettingRow = ({ label, description, children }: SettingRowProps) => { return (
{label}
{description &&
{description}
}
{children}
); }; export default SettingRow;