Skip to content

v1.0.0

Latest
Compare
Choose a tag to compare
@cermakjiri cermakjiri released this 30 Nov 11:04
· 6 commits to master since this release

Changed

  • Replace default exports with named exports only.

Added

  • typescriptFelaExtendProp option – should it include extend prop in props inteface for given component?
  • typescriptFelaTheme option
    • for the extend prop: should it use RulesExtend type (avail. on most of our projects) or fallback to general type: Partial<Record<keyof typeof felaRules, TRule>>;?
    • for any fela rule: should it use TRuleWithTheme or TRule type?
  • [breaking 💥] includeReactImport option – if enable, React is imported. It's false by default.

Removed

  • FC React type, use props interface directly.