You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As suggested by Luca it could be useful to have an additional attribute inside the ComponentConfig with additional information of the component such as a description, a category, tags or other meta infos that can be used to document the component or by external plugins.
These information should not be used to stylize the component but only to get additional informations.
To enable this feature it's enough to only edit the type ComponentStyle inside the file packages/spec/src/types/components.ts and add a new attribute called meta:
As suggested by Luca it could be useful to have an additional attribute inside the
ComponentConfig
with additional information of the component such as a description, a category, tags or other meta infos that can be used to document the component or by external plugins.These information should not be used to stylize the component but only to get additional informations.
To enable this feature it's enough to only edit the type
ComponentStyle
inside the filepackages/spec/src/types/components.ts
and add a new attribute calledmeta
:This
Meta
type could be or any objecttype Meta = Record<string, any>
or a more strict interface like:The text was updated successfully, but these errors were encountered: