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

    Function String

    • Declares a prop that can hold a string value.

      Note that this value cannot be translated. If you want a translatable value, use a DynamicProperty instead.

      Type Parameters

      • O extends TypeOptions<HelioString>

      Parameters

      • options: O

      Returns PropDef<HelioString, O>

      {
      text: props.String({
      label: 'Text',
      defaultValue: 'My Text',
      optional: true,
      })
      }