revenge-bundle-next/src/plugins/init/settings/definitions/RevengeSetting.tsx

21 lines
703 B
TypeScript
Raw Normal View History

import TableRowAssetIcon from '~/components/TableRowAssetIcon'
2025-05-07 01:21:27 +07:00
import RevengeIcon from '~assets/RevengeIcon'
import { MobileSetting, UserSettingsSections } from '../constants'
import type { SettingsItem } from '@revenge-mod/discord/modules/settings'
const RevengeSetting: SettingsItem = {
parent: null,
type: 'route',
IconComponent: () => <TableRowAssetIcon id={RevengeIcon} />,
title: () => 'Revenge',
useTrailing: () => `${__BUILD_VERSION__}-${__BUILD_COMMIT__}-${__BUILD_BRANCH__}`,
screen: {
route: UserSettingsSections[MobileSetting.REVENGE],
getComponent: () => require('../screens/RevengeSettingScreen').default,
},
}
export default RevengeSetting