import { Button, styled } from "@mui/joy"; import { FunctionComponent, ReactElement } from "react"; const Root = styled("div")` display: flex; flex-direction: column; justify-content: center; align-items: center; padding: ${({ theme }) => theme.spacing(2, 5, 5, 5)}; text-align: center; `; const Image = styled("img")` width: 300px; height: auto; `; const CreateNew = styled(Button)` margin-top: ${({ theme }) => theme.spacing(1)}; `; export interface IEmptyNetworksProps { onCreate: () => void; } const EmptyNetworks: FunctionComponent = ( props: IEmptyNetworksProps ): ReactElement => { const { onCreate } = props; return (

We tried our best, but could not find any networks.

Create new network
); }; export default EmptyNetworks;