Skip to content

CodeLine

API reference and demos for CodeLine.

Source

import { CodeLine } from "@flanksource/clicky-ui/data";

No dedicated Storybook demo is available for this component yet.

The props table documents the component-specific surface. Standard DOM attributes inherited from React, such as className, event handlers, and accessibility attributes, may also be accepted when the component’s prop type extends a native element.

Prop Type Default Description
className string — —
code* string — —
language string — Shiki language id; without one the line renders as plain text.