diff --git a/interface/src/components/ButtonRow.tsx b/interface/src/components/ButtonRow.tsx index 8fff5e161..562fd4b19 100644 --- a/interface/src/components/ButtonRow.tsx +++ b/interface/src/components/ButtonRow.tsx @@ -1,9 +1,9 @@ -import { memo } from 'react'; +import { type FC, type PropsWithChildren, memo } from 'react'; import { Box } from '@mui/material'; import type { BoxProps } from '@mui/material'; -const ButtonRow = memo(({ children, ...rest }) => ( +const ButtonRow: FC> = memo(({ children, ...rest }) => ( > = { @@ -28,7 +29,7 @@ const LEVEL_PALETTE_PATHS: Record = { error: 'error.dark' }; -const MessageBox: FC = ({ +const MessageBox: FC> = ({ level, message, sx,