UNPKG

@mantine/core

Version:

React components library focused on usability, accessibility and developer experience

15 lines 636 B
import React from 'react'; import { DefaultProps } from '../../theme'; export interface CodeProps extends DefaultProps, React.ComponentPropsWithoutRef<'code'> { /** Code content */ children: React.ReactNode; /** Code color and background from theme, defaults to gray in light theme and to dark in dark theme */ color?: string; /** True for code block, false for inline code */ block?: boolean; } export declare function Code({ className, children, themeOverride, block, color, ...others }: CodeProps): JSX.Element; export declare namespace Code { var displayName: string; } //# sourceMappingURL=Code.d.ts.map