Files
documentation/node_modules/@docusaurus/theme-classic/lib/theme/CodeInline/index.js
2024-03-22 03:47:51 +05:30

14 lines
471 B
JavaScript

/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import React from 'react';
// Simple component used to render inline code blocks
// its purpose is to be swizzled and customized
// MDX 1 used to have a inlineCode comp, see https://mdxjs.com/migrating/v2/
export default function CodeInline(props) {
return <code {...props} />;
}