@yamada-ui/react
Version:
React UI components of the Yamada, by the Yamada, for the Yamada built with React and Emotion
19 lines (18 loc) • 863 B
TypeScript
import { ThemeProps } from "../../core/system/index.types.js";
import { Component, HTMLStyledProps } from "../../core/components/index.types.js";
import "../../core/index.js";
import { CodeStyle } from "./code.style.js";
import "../../index.js";
import * as react914 from "react";
//#region src/components/code/code.d.ts
interface CodeProps extends HTMLStyledProps<"code">, ThemeProps<CodeStyle> {}
declare const CodePropsContext: react914.Context<Partial<CodeProps> | undefined>, useCodePropsContext: () => Partial<CodeProps> | undefined;
/**
* `Code` is a component that represents a code block. By default, it renders a `code` element.
*
* @see https://yamada-ui.com/docs/components/code
*/
declare const Code: Component<"code", CodeProps>;
//#endregion
export { Code, CodeProps, CodePropsContext, useCodePropsContext };
//# sourceMappingURL=code.d.ts.map