@k8ordo/ui

Code

Inline code. Use it for an API name or a file name in a sentence.

Import

ts
import { Code } from '@k8ordo/ui';

Usage

Use the console.log() function to output values.

tsx
<p>
  Use the <Code>console.log()</Code> function
  to output values.
</p>

Color values

#ff6347#3498dbbackground: #22c55e
tsx
<Code>#ff6347</Code>
<Code>#3498db</Code>
<Code>background: #22c55e</Code>

Props

children
Type: string
Default: -
PropTypeDefault
childrenstring-

Inherited attributes (except the ones set internally): HTMLAttributes<HTMLElement>

k8ordo

React libraries that use Baseline features without holding back.