(props: {
description: string;
name: string;
onChange: (value: string) => void;
placeholder: string;
value: string;
})
| 401 | }); |
| 402 | |
| 403 | function 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 | |
| 423 | function SettingGroup(props: { |
| 424 | children: React.ReactNode; |
nothing calls this directly
no outgoing calls
no test coverage detected