diff --git a/packages/components/src/base/Button/button.tsx b/packages/components/src/base/Button/button.tsx index e384fec5..5ddf4017 100644 --- a/packages/components/src/base/Button/button.tsx +++ b/packages/components/src/base/Button/button.tsx @@ -1,5 +1,5 @@ import { Button as MuiButton, type ButtonProps } from '@mui/material'; -import * as React from 'react'; +import React from 'react'; export function Button(props: ButtonProps) { return ; diff --git a/packages/components/src/custom/SearchBar.tsx b/packages/components/src/custom/SearchBar.tsx index 4a05e2e7..871b73d3 100644 --- a/packages/components/src/custom/SearchBar.tsx +++ b/packages/components/src/custom/SearchBar.tsx @@ -11,9 +11,14 @@ interface SearchBarProps { endAdornment?: ReactNode; } -const SearchBar: FC = ( - { onChange, value, width, label, endAdornment, ...props } -) => { +const SearchBar: FC = ({ + onChange, + value, + width, + label, + endAdornment, + ...props +}) => { return ( ; } & Omit; -export const MesheryTooltip: FC = ( - { title, onClick, placement, children, ...props } -) => { +export const MesheryTooltip: FC = ({ + title, + onClick, + placement, + children, + ...props +}) => { return ( {children}