We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e618f4 commit 518b361Copy full SHA for 518b361
src/containers/UserSettings/UserSettings.tsx
@@ -1,4 +1,5 @@
1
import {Settings} from '@gravity-ui/navigation';
2
+import {Text} from '@gravity-ui/uikit';
3
4
import {Setting} from './Setting';
5
import type {YDBEmbeddedUISettings} from './settings';
@@ -32,9 +33,17 @@ export const UserSettings = ({settings: userSettings}: UserSettingsProps) => {
32
33
</Settings.Item>
34
);
35
}
36
+ const {description, ...rest} = setting;
37
return (
- <Settings.Item key={setting.title} {...setting}>
38
+ <Settings.Item
39
+ key={setting.title}
40
+ align="top"
41
+ {...rest}
42
+ >
43
<Setting {...setting} />
44
+ <Text color="secondary" as="div">
45
+ {description}
46
+ </Text>
47
48
49
})}
0 commit comments