fix: disable google-meet in user onboarding if google-calendar is not installed (#15702)

* fix: disable google-meet in user onboarding if google-calendar is not installed

* add tooltip

* fix: type check

* fix: type check for tooltip

- allowed `ReactNode` for tooltip content prop

---------

Co-authored-by: Hariom Balhara <[email protected]>
This commit is contained in:
Somay ChauhanandHariom Balhara authored and GitHub committed 2024-07-10 10:34:14 +00:00
1 parent ad61d48706
commit fed3987028
5 files changed
+66 -7

No files matched your search

+2 -2
View File
@@ -22,7 +22,7 @@ export type ButtonBaseProps = {
EndIcon?: IconName;
shallow?: boolean;
/**Tool tip used when icon size is set to small */
tooltip?: string;
tooltip?: string | React.ReactNode;
tooltipSide?: "top" | "right" | "bottom" | "left";
tooltipOffset?: number;
disabled?: boolean;
@@ -240,7 +240,7 @@ const Wrapper = ({
tooltipSide,
tooltipOffset,
}: {
tooltip?: string;
tooltip?: string | React.ReactNode;
children: React.ReactNode;
tooltipSide?: "top" | "right" | "bottom" | "left";
tooltipOffset?: number;