Build and type fixes

This commit is contained in:
Darren Clarke 2023-05-24 20:27:57 +00:00
parent d5bd58ac3e
commit 656f3fbe71
64 changed files with 1878 additions and 1501 deletions

View file

@ -1,4 +1,4 @@
import { FC, useState } from "react";
import { FC, PropsWithChildren, useState } from "react";
import {
Box,
Grid,
@ -29,7 +29,14 @@ interface QueryBuilderSectionProps {
tooltipDescription: string;
}
const Tooltip = ({ title, description, children, open }) => {
type TooltipProps = PropsWithChildren<{
title: string;
description: string;
children: any;
open: boolean;
}>;
const Tooltip: FC<TooltipProps> = ({ title, description, children, open }) => {
const {
colors: { white, leafcutterElectricBlue, almostBlack },
typography: { h5, small },