Code0 LogoCodeZero

@DisplayIcon

Sets the icon shown in the flow UI

Sets the icon shown for this item in the flow UI.

import { DisplayIcon } from '@code0-tech/hercules';

Signature

@DisplayIcon(icon: string): ClassDecorator

Example

@DisplayIcon('tabler:calculator')
export class FibonacciFunction extends FibonacciRuntimeFunction {}

Applies to

Function, RuntimeFunction, Event, RuntimeEvent

On this page