import { Box, Flex, Grid } from "@chakra-ui/react"; import type { FunctionComponent } from "react"; import type { RendererProps } from "./types"; import { CopyButton } from "../CopyButton"; export const SingleLineRenderer: FunctionComponent = ({ code, tokens, getLineProps, getTokenProps, }) => ( {tokens.map((line, i) => (
{line.map((token, key) => ( ))}
))}
);