import * as React from "react"; import BaseText from "../../blocks/BaseText"; import { View, Text } from "react-native"; /** * This import is used by the Svelte SDK. Do not remove. */ export interface FormSelectProps { options?: { name?: string; value: string; }[]; attributes?: any; name?: string; value?: string; defaultValue?: string; required?: boolean; } import { isEditing } from "../../../functions/is-editing"; import { filterAttrs } from "../../helpers"; import { setAttrs } from "../../helpers"; function SelectComponent(props: FormSelectProps) { return ( {props.options?.map((option, index) => ( {option.name || option.value} ))} ); } export default SelectComponent;