import React from 'react'; import { View, TextInput, StyleSheet } from 'react-native'; import { colors, spacing, borderRadius, typography } from '../../../../theme/tokens'; import { SectionHeader } from '../components/SectionHeader'; import { ParamRow } from '../components/ParamRow'; import { NumInput } from '../components/NumInput'; import { BoolRow } from '../components/BoolRow'; import type { ModelConfigFormState } from '../types'; interface OutputSectionProps { state: ModelConfigFormState; } export default function OutputSection({ state }: OutputSectionProps) { const { expanded, toggle, showTooltip, ignoreEos, setIgnoreEos, nProbs, setNProbs, stopStr, setStopStr, } = state; return ( <> toggle('output')} /> {expanded.output && ( )} ); } const styles = StyleSheet.create({ card: { backgroundColor: colors.surface, borderRadius: borderRadius.lg, borderWidth: 1, borderColor: colors.border, padding: spacing.md, marginBottom: spacing.sm, }, textInput: { backgroundColor: colors.background, borderRadius: borderRadius.md, paddingHorizontal: spacing.md, paddingVertical: spacing.sm, fontSize: typography.sizes.sm, color: colors.textPrimary, }, });