gitscope
← marzneshin / v0.6.4 / dashboard/src/modules/hosts/dialogs/mutation/sections/tls-fields.tsx
https://dev.kronoz.win/r/marzneshin.git
dashboard/src/modules/hosts/dialogs/mutation/sections/tls-fields.tsx · TypeScript
Blame Raw
 1import { AllowInsecureField, AlpnField, SniField } from "../fields";
 2import { SettingSection } from "@marzneshin/modules/hosts/components";
 3import { useTranslation } from "react-i18next";
 4import { FC } from 'react'
 5
 6export const TlsFields: FC = () => {
 7    const { t } = useTranslation();
 8    return (
 9        <SettingSection value="tls-settings" triggerText={t("page.hosts.tls-config")}>
10            <SniField />
11            <AlpnField />
12            <AllowInsecureField />
13        </SettingSection>
14    )
15}