Skip to content

AIDK API Reference / aidk/jsx / InlineCodeProps

Interface: InlineCodeProps ​

Defined in: packages/core/src/jsx/components/semantic.tsx:212

Inline code component (use <code> for code blocks)

Extends ​

  • BaseProps

Properties ​

PropertyTypeDescriptionInherited fromDefined in
children?any--packages/core/src/jsx/components/semantic.tsx:213
key?string | numberKey for React-like reconciliation (optional). Used by compiler to track component instances across renders.BaseProps.keypackages/core/src/jsx/jsx-types.ts:22
ref?stringReference name for accessing this component instance. Use com.getRef<ComponentType>('myRef') to access the instance. Example <Fork ref="myFork" input={forkInput} /> const fork = com.getRef<ForkComponent>('myFork');BaseProps.refpackages/core/src/jsx/jsx-types.ts:16

Released under the MIT License.