diff --git a/web/src/components/BetaBadge.tsx b/web/src/components/BetaBadge.tsx new file mode 100644 index 00000000..e9ebbd66 --- /dev/null +++ b/web/src/components/BetaBadge.tsx @@ -0,0 +1,13 @@ +import "../less/beta-badge.less"; + +interface Props { + className?: string; +} + +const BetaBadge: React.FC = (props: Props) => { + const { className } = props; + + return beta; +}; + +export default BetaBadge; diff --git a/web/src/components/Settings/PreferencesSection.tsx b/web/src/components/Settings/PreferencesSection.tsx index d94ed720..072365b7 100644 --- a/web/src/components/Settings/PreferencesSection.tsx +++ b/web/src/components/Settings/PreferencesSection.tsx @@ -2,6 +2,7 @@ import { globalService, userService } from "../../services"; import { useAppSelector } from "../../store"; import { VISIBILITY_SELECTOR_ITEMS } from "../../helpers/consts"; import useI18n from "../../hooks/useI18n"; +import BetaBadge from "../BetaBadge"; import Selector from "../common/Selector"; import "../../less/settings/preferences-section.less"; @@ -36,11 +37,12 @@ const PreferencesSection: React.FC = () => {