https://dev.kronoz.win/r/marzneshin.git
| 1 |
4056c66 |
Dawsh |
1y ago |
import { CommonFields } from "../../fields"; |
| 2 |
4056c66 |
Dawsh |
1y ago |
import { TlsFields } from "../../sections"; |
| 3 |
4056c66 |
Dawsh |
1y ago |
import { Accordion, ClearableTextField } from "@marzneshin/common/components"; |
| 4 |
d636f3f |
Dawsh |
2y ago |
import { useTranslation } from "react-i18next"; |
| 5 |
d636f3f |
Dawsh |
2y ago |
|
| 6 |
d636f3f |
Dawsh |
2y ago |
export const Hysteria2ProfileFields = () => { |
| 7 |
d636f3f |
Dawsh |
2y ago |
const { t } = useTranslation(); |
| 8 |
d636f3f |
Dawsh |
2y ago |
return ( |
| 9 |
d636f3f |
Dawsh |
2y ago |
<div className="space-y-2"> |
| 10 |
d636f3f |
Dawsh |
2y ago |
<CommonFields /> |
| 11 |
4056c66 |
Dawsh |
1y ago |
<ClearableTextField |
| 12 |
4056c66 |
Dawsh |
1y ago |
name="path" |
| 13 |
4056c66 |
Dawsh |
1y ago |
label={t("page.hosts.obfuscation-password")} |
| 14 |
4056c66 |
Dawsh |
1y ago |
/> |
| 15 |
d636f3f |
Dawsh |
2y ago |
<Accordion className="space-y-2" type="single" collapsible> |
| 16 |
d636f3f |
Dawsh |
2y ago |
<TlsFields /> |
| 17 |
d636f3f |
Dawsh |
2y ago |
</Accordion> |
| 18 |
d636f3f |
Dawsh |
2y ago |
</div> |
| 19 |
4056c66 |
Dawsh |
1y ago |
); |
| 20 |
4056c66 |
Dawsh |
1y ago |
}; |
| 21 |
d636f3f |
Dawsh |
2y ago |
|
| 22 |
d636f3f |
Dawsh |
2y ago |
export * from "./schema"; |
| 23 |
d636f3f |
Dawsh |
2y ago |
export * from "./default"; |