Interface MappingObject<TResult, TResutKey>

CSS property mapping object.

Type Param

Type of mapped properties keys.

Type Parameters

  • TResult

    A type of mapped properties. This is a mapping result type.

  • TResutKey extends keyof TResult

Hierarchy

  • MappingObject

Methods

Methods

  • Maps CSS property value.

    Parameters

    • source: StypValue

      A raw property value that should be converted.

    • mapped: Mapped<TResult>

      An object granting access to other mapped properties.

    • key: TResutKey

      A key of converted property.

    Returns TResult[TResutKey]

    Mapped property value.

Generated using TypeDoc