2022-10-18 23:59:45 +01:00
|
|
|
import { React } from "@metro/common";
|
2022-10-19 07:58:32 +01:00
|
|
|
import { Forms } from "@ui/components";
|
2022-10-23 01:39:02 +01:00
|
|
|
import { getAssetIDByName } from "@ui/assets";
|
2022-10-18 23:59:45 +01:00
|
|
|
|
2022-10-19 07:58:32 +01:00
|
|
|
const { FormRow, FormSection } = Forms;
|
2022-10-18 23:59:45 +01:00
|
|
|
|
|
|
|
|
interface SettingsSectionProps {
|
|
|
|
|
navigation: any;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default function SettingsSection({ navigation }: SettingsSectionProps) {
|
|
|
|
|
return (
|
|
|
|
|
<FormSection key="Vendetta" title="Vendetta">
|
|
|
|
|
<FormRow
|
2022-10-23 01:39:02 +01:00
|
|
|
label="General"
|
|
|
|
|
leading={() => <FormRow.Icon source={getAssetIDByName("settings")} />}
|
2022-10-18 23:59:45 +01:00
|
|
|
trailing={FormRow.Arrow}
|
|
|
|
|
onPress={() => navigation.push("VendettaSettings")}
|
|
|
|
|
/>
|
2022-10-23 00:38:04 +01:00
|
|
|
<FormRow
|
|
|
|
|
label="Asset Browser"
|
2022-10-23 01:39:02 +01:00
|
|
|
leading={() => <FormRow.Icon source={getAssetIDByName("grid")} />}
|
2022-10-23 00:38:04 +01:00
|
|
|
trailing={FormRow.Arrow}
|
|
|
|
|
onPress={() => navigation.push("VendettaAssetBrowser")}
|
|
|
|
|
/>
|
2022-10-18 23:59:45 +01:00
|
|
|
</FormSection>
|
|
|
|
|
)
|
|
|
|
|
}
|