Skip to content

SiMarkdownCalloutComponent documentation

import { SiMarkdownCalloutComponent } from '@siemens/element-ng/markdown';

Input Properties

Name Type Description
node required
Node

Node to be rendered

Implements SiMarkdownExtensionComponent

options
unknown

Options passed to the component

Implements SiMarkdownExtensionComponent

parent required
Parent

The parent node

Implements SiMarkdownExtensionComponent

Attributes and Methods

Name Type Default Description
(readonly)callouts
Record<CalloutType, Callout> ...
(readonly)icons
Record<"elementLightOn", string> addIcons({ elementLightOn })

Types Documentation

CalloutType

'success' | 'info' | 'warning' | 'danger' | 'caution' | 'critical' | 'note' | 'tip'
type alias

import type { SiMarkdownExtensionComponent } from '@siemens/element-ng/markdown';

Interface an extension component must implement

Properties

import type { TranslatableString } from '@siemens/element-translate-ng/translate-types';

Represents a translatable string. This can either be a translation key, e.g. ACTIONS.EDIT that will be automatically translated when displayed on the UI or a pre-translated string, e.g. Edit. Equivalent to a normal string in usage and functionality.

StatusType

'success' | 'info' | 'warning' | 'danger' | 'caution' | 'critical'
type alias
import type { StatusType } from '@siemens/element-ng/common';


Except where otherwise noted, content on this site is licensed under MIT License.