import React from "react";

import { PreviewCode as Code } from "./Code";

export const CodeBlock: React.FC<any> = (props) => (
  <Code inline={false} {...props} />
);
CodeBlock.displayName = "CodeBlock";

export const CodeBlockJSX: React.FC<any> = (props) => (
  <Code inline={false} language="jsx" {...props} />
);
CodeBlockJSX.displayName = "CodeBlockJSX";

export const CodeJSX: React.FC<any> = (props) => (
  <Code language="jsx" {...props} />
);
CodeJSX.displayName = "CodeJSX";

export default Code;
