Allow InfoIconTooltips to have customizable content styles
This commit is contained in:
@@ -89,9 +89,11 @@ function SimpleTooltip({
|
||||
export function InfoIconTooltip({
|
||||
content,
|
||||
buttonClassName,
|
||||
contentClassName,
|
||||
}: {
|
||||
content: React.ReactNode;
|
||||
buttonClassName?: string;
|
||||
contentClassName?: string;
|
||||
}) {
|
||||
return (
|
||||
<SimpleTooltip
|
||||
@@ -100,6 +102,7 @@ export function InfoIconTooltip({
|
||||
}
|
||||
content={content}
|
||||
variant="dark"
|
||||
className={contentClassName}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user