aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Settings/Settings.tsx
blob: 9f38ecbda5b5f4e9282686d3f2d50c4aad559813 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import { CogIcon } from '@components/Icons';
import ThemeToggle from '@components/Settings/ThemeToggle/ThemeToggle';
import { useIntl } from 'react-intl';
import PrismThemeToggle from './PrismThemeToggle/PrismThemeToggle';
import ReduceMotion from './ReduceMotion/ReduceMotion';
import styles from './Settings.module.scss';

const Settings = () => {
  const intl = useIntl();

  return (
    <>
      <div className={styles.title}>
        <CogIcon />{' '}
        {intl.formatMessage({
          defaultMessage: 'Settings',
          description: 'Settings: modal title',
        })}
      </div>
      <ThemeToggle />
      <ReduceMotion />
      <PrismThemeToggle />
    </>
  );
};

export default Settings;