import { Box, Link, List, ListItem, ListItemIcon, ListItemSecondaryAction, ListItemText, Typography, } from "@mui/material"; import LocalLibraryIcon from "@mui/icons-material/LocalLibrary"; import InputIcon from "@mui/icons-material/Input"; import OutputIcon from "@mui/icons-material/Output"; import { FuncData } from "../../types/nix"; interface PreviewProps { func: FuncData; } export const Preview = (props: PreviewProps) => { const { func } = props; return ( {func.name} View Docs ); };