SiMarkdownCalloutComponent documentation¶
import { SiMarkdownCalloutComponent } from '@siemens/element-ng/markdown'; Input Properties¶
| Name | Type | Description |
|---|---|---|
| noderequired ¶ | Node | Node to be rendered Implements SiMarkdownExtensionComponent |
| options ¶ | unknown | Options passed to the component Implements SiMarkdownExtensionComponent |
| parentrequired ¶ | 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' ¶import type { SiMarkdownExtensionComponent } from '@siemens/element-ng/markdown';Interface an extension component must implement
Properties¶
-
Node to be rendered
-
Options passed to the component
-
The parent node
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.
import type { StatusType } from '@siemens/element-ng/common'; Except where otherwise noted, content on this site is licensed under MIT License.