Variable StypMapper

StypMapper: {
    by<TResult>(mappings) => StypMapper<TResult>;
    map<TResult>(mappings, from) => TResult;
}

Type declaration

  • by:function
    • Creates CSS properties mapper function.

      Type Parameters

      • TResult

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

      Parameters

      • mappings: Mappings<TResult>

        Mappings of CSS properties.

      Returns StypMapper<TResult>

      A function that maps CSS properties accordingly to the given mappings.

  • map:function
    • Maps CSS properties accordingly to the given mappings.

      Type Parameters

      • TResult

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

      Parameters

      Returns TResult

      Mapped properties.

Generated using TypeDoc