@hmiproject/helio-sdk
    Preparing search index...

    Type Alias RichTraitRef<ConfigType>

    type RichTraitRef<ConfigType = undefined> = {
        config?: Partial<ConfigType>;
        configVersion?: number;
        id: WellKnownTraits;
        type: "rich";
    }

    Type Parameters

    • ConfigType = undefined
    Index

    Properties

    config?: Partial<ConfigType>

    Authoring-time configuration set via RichTrait.withConfig. Plain, serializable data — unlike props it is not persisted per element and not editable by end users. Absent when the trait is used with its defaults.

    configVersion?: number
    id: WellKnownTraits
    type: "rich"