gitscope
https://dev.kronoz.win/r/marzneshin.git
dashboard/src/features/subscription-settings/widget/index.tsx · v0.5.0
Source
1 0178858 Dawsh 2y ago import {
2 0178858 Dawsh 2y ago SectionWidget
3 0178858 Dawsh 2y ago } from "@marzneshin/components";
4 0178858 Dawsh 2y ago import { SubscriptionRulesForm } from "@marzneshin/features/subscription-settings";
5 0178858 Dawsh 2y ago import { useTranslation } from "react-i18next";
6 0178858 Dawsh 2y ago
7 0178858 Dawsh 2y ago export const SubscriptionSettingsWidget = () => {
8 0178858 Dawsh 2y ago const { t } = useTranslation()
9 0178858 Dawsh 2y ago return (
10 0178858 Dawsh 2y ago <SectionWidget
11 0178858 Dawsh 2y ago title={
12 0178858 Dawsh 2y ago <div className="space-y-1">
13 0178858 Dawsh 2y ago <h4>
14 0178858 Dawsh 2y ago {t("page.settings.subscription-settings.title")}
15 0178858 Dawsh 2y ago </h4>
16 0178858 Dawsh 2y ago </div>
17 0178858 Dawsh 2y ago }
18 0178858 Dawsh 2y ago >
19 0178858 Dawsh 2y ago <SubscriptionRulesForm />
20 0178858 Dawsh 2y ago </SectionWidget>
21 0178858 Dawsh 2y ago )
22 0178858 Dawsh 2y ago }