import * as React from "react"; import { DialogOverlay, DialogContent } from "./dialog"; import { Close } from "./icons"; export const Button = ({ children, onClick, style, ...rest }: { children: React.ReactNode; onClick: React.MouseEventHandler; style?: React.CSSProperties; "aria-label"?: string; }) => { return ( ); }; export const Link = ({ children, href, style, }: { href: string; children: React.ReactNode; style?: React.CSSProperties; }) => { return ( {children} ); }; export const Code = ({ children }: { children: React.ReactNode }) => { return {children}; }; export const Modal = ({ children, close, isOpen, label, maxWidth = "40em", }: { children: React.ReactNode; close: () => void; isOpen: boolean; label?: string; maxWidth?: string; }) => { return ( //@ts-ignore close()} data-testid="ladle-dialog-overlay" > {/* @ts-ignore */}
{children}
); };