UNPKG

@codesandbox/sandpack-react

Version:

<img style="width:100%" src="https://user-images.githubusercontent.com/4838076/143581035-ebee5ba2-9cb1-4fe8-a05b-2f44bd69bb4b.gif" alt="Component toolkit for live running code editing experiences" />

27 lines (26 loc) 805 B
import * as React from "react"; export declare const tabButton: import("@stitches/core/types/styled-component").CssComponent<never, {}, {}, { [x: string]: string | { outline: string; visibility?: undefined; } | { visibility: string; outline?: undefined; }; padding: string; height: string; whiteSpace: string; "&:focus": { outline: string; }; }>; export interface FileTabsProps { /** * This adds a close button next to each file with a unique trigger to close it. */ closableTabs?: boolean; } /** * FileTabs is a list of all open files, the active file, and its state. */ export declare const FileTabs: ({ closableTabs, className, ...props }: FileTabsProps & React.HTMLAttributes<HTMLDivElement>) => JSX.Element;