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

    Type Alias UseDataVariableOptions<V>

    type UseDataVariableOptions<V extends ValueType> = {
        valueType?: V;
    }

    Type Parameters

    Index

    Properties

    Properties

    valueType?: V

    Optional schema to validate the possible types of value we expect the dynamic property to produce. Whenever a value does not match this schema, the dynamic property's value property will become undefined.

      const title = useDynamicProperty(props.title, { valueSchema: values.String() });