Skip to content

Documentation / @agentick/core / Knobs

Function: Knobs() ​

Knobs(props): ReactElement<unknown, string | JSXElementConstructor<any>> | null

Defined in: core/src/hooks/knobs-component.ts:340

Renders the set_knob tool + knob section when knobs are registered.

Three modes:

  • <Knobs /> — default section rendering
  • <Knobs>{(groups) => <section>…</section>}</Knobs> — custom section via render prop
  • Use <Knobs.Provider> + <Knobs.Controls /> for full custom rendering

Parameters ​

props ​

KnobsProps

Returns ​

ReactElement<unknown, string | JSXElementConstructor<any>> | null

Released under the ISC License.