markdalgleish / react-themeable

Utility for making React components easily themeable
547 stars 14 forks source link

TypeScript rewrite #14

Open SeinopSys opened 3 years ago

SeinopSys commented 3 years ago

Updated the tooling and rewritten the package using TypeScript to include type definitions in the published output.

For anyone looking to use these changes before they're merged (if ever) I based them off my fork of this repository and released it under @seinopsys-forks/react-themeable. Note that the fork contains a breaking change, it uses a named export instead of a default one, which is omitted from this PR to preserve backwards compatibility.

Fixes #12 Closes #13