- Remove 'as any' type assertion in LoginScreen.tsx, use Platform.OS check - Fix malformed className string in LogoutButton.tsx (extra quotes) - Remove @ts-ignore comments in Tooltip.tsx with proper web-specific types - Replace 'any' type with Schedule type in AvailabilityTab.tsx - Replace 'any' type with 'string' for SF Symbol icons in EventTypeListItem.ios.tsx - Remove console.log error handling in SvgImage.tsx - Extract duplicated formatDuration function to use shared utility from formatters.ts - Extract repeated inline styles to sectionDividerStyle constant in AvailabilityTab.tsx Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Dhairyashil <dhairyashil10101010@gmail.com>
11 lines
246 B
TypeScript
11 lines
246 B
TypeScript
interface TooltipProps {
|
|
text: string;
|
|
children: React.ReactElement;
|
|
}
|
|
|
|
export function Tooltip({ text, children }: TooltipProps) {
|
|
// Native Tooltip is a no-op; web implementation lives in Tooltip.web.tsx
|
|
void text;
|
|
return children;
|
|
}
|