MCPcopy Create free account
hub / github.com/ScattrdBlade/bigFileUpload / SettingTextInput

Function SettingTextInput

settings.tsx:403–421  ·  view source on GitHub ↗
(props: {
    description: string;
    name: string;
    onChange: (value: string) => void;
    placeholder: string;
    value: string;
})

Source from the content-addressed store, hash-verified

401});
402
403function SettingTextInput(props: {
404 description: string;
405 name: string;
406 onChange: (value: string) => void;
407 placeholder: string;
408 value: string;
409}) {
410 const { description, name, onChange, placeholder, value } = props;
411
412 return (
413 <SettingsSection id={name} name={name} description={description ?? ""}>
414 <TextInput
415 value={value}
416 onChange={onChange}
417 placeholder={placeholder}
418 />
419 </SettingsSection>
420 );
421}
422
423function SettingGroup(props: {
424 children: React.ReactNode;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected