import { DivProps } from "../../types/index.mjs";
import { ReactNode } from "react";
//#region src/awesome/CodeShowcase/type.d.ts
interface CodeShowcaseItem {
  /** The snippet shown on the left. Keep it short enough to read without scrolling. */
  code: string;
  key: string;
  label: ReactNode;
  /** @default 'tsx' */
  language?: string;
  /** The live render of the snippet, shown on the right. */
  preview: ReactNode;
}
interface CodeShowcaseProps extends Omit<DivProps, 'onChange'> {
  activeKey?: string;
  defaultActiveKey?: string;
  items: CodeShowcaseItem[];
  /**
   * Minimum height of both panes in pixels.
   * @default 300
   */
  minHeight?: number;
  onChange?: (key: string) => void;
}
//#endregion
export { CodeShowcaseItem, CodeShowcaseProps };
//# sourceMappingURL=type.d.mts.map