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 3cd267a commit fc93338Copy full SHA for fc93338
src/renderer/components/fields/RadioGroup.tsx
@@ -1,12 +1,10 @@
1
-import type { ChangeEvent, FC, ReactNode } from 'react';
+import type { ChangeEvent, FC } from 'react';
2
import type { RadioGroupItem } from '../../types';
3
import { cn } from '../../utils/cn';
4
-import { Tooltip } from './Tooltip';
5
6
export interface IRadioGroup {
7
name: string;
8
label: string;
9
- tooltip?: ReactNode | string;
10
options: RadioGroupItem[];
11
value: string;
12
disabled?: boolean;
@@ -27,9 +25,6 @@ export const RadioGroup: FC<IRadioGroup> = (props: IRadioGroup) => {
27
25
}
28
26
>
29
{props.label}
30
- {props.tooltip && (
31
- <Tooltip name={`tooltip-${props.name}`} tooltip={props.tooltip} />
32
- )}
33
</label>
34
</div>
35
0 commit comments