Skip to content

Commit 50daadf

Browse files
committed
remove iconClass prop
1 parent 6e32126 commit 50daadf

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

builder-frontend/src/components/shared/QuestionTooltip.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import QuestionMarkIcon from "../icon/QuestionMarkIcon";
33

44
interface TooltipProps {
55
text: string;
6-
iconClass?: string;
76
children?: JSX.Element;
87
}
98

@@ -55,7 +54,7 @@ export default function QuestionTooltip(props: TooltipProps) {
5554
{props.children ? (
5655
props.children
5756
) : (
58-
<QuestionMarkIcon class={`size-5 text-gray-500 hover:text-gray-700 transition-colors ${props.iconClass || ""}`} />
57+
<QuestionMarkIcon class="size-5 text-gray-500 hover:text-gray-700 transition-colors" />
5958
)}
6059

6160
{isVisible() && (

0 commit comments

Comments
 (0)