Skip to content
This repository has been archived by the owner on Jun 7, 2024. It is now read-only.

Releases: scf4/styled-map

3.3.0

15 May 20:13
Compare
Choose a tag to compare

[3.3.0] - 2019-05-15

Added

Changed

  • Updated all dependencies

3.2.0

18 Oct 14:03
Compare
Choose a tag to compare
3.2.0 Pre-release
Pre-release

[3.2.0-rc.1] - 2018-10-18

Added

  • Added basic TypeScript typings

3.1.0

13 Oct 03:41
52767aa
Compare
Choose a tag to compare

[3.1.0] - 2018-10-13

Added

  • Added support for nested object properties in mapToTheme (Thanks to #5)

Changed

  • Smaller bundle size (~500b)

2.0.0

02 Jul 20:00
Compare
Choose a tag to compare

[2.0.0] - 2017-07-02

Changed

  • styled-map now looks for a "default" key if there are no matches. Otherwise it will use the last item in the map as in previous versions.

Added

  • Sometimes you want to use the value of a prop instead of its name, like <Button type="primary" />. You can use styled-map this way by providing a string as the first argument. E.g., styledMap('type', { ... }).