make-event-props

Returns an object with on-event callback props curried with provided args.

MIT License

Downloads
4.9M
Stars
7
Committers
2
make-event-props - v1.6.2 Latest Release

Published by wojtekmaj about 1 year ago

What's new?

make-event-props - v1.6.1

Published by wojtekmaj over 1 year ago

Bug fixes

  • Fixed missing "type": "commonjs" in dist/cjs directory which could have resulted in "Module not found: ESM packages need to be imported." error.
make-event-props - v1.6.0

Published by wojtekmaj over 1 year ago

What's new?

  • Added support for native ESM modules.
make-event-props - v1.5.0

Published by wojtekmaj over 1 year ago

What's new?

  • Exported EventProps type to make it easier to build props for components that use makeEventProps.
make-event-props - v1.4.4

Published by wojtekmaj over 1 year ago

Bug fixes

  • Second type argument is now optional.
make-event-props - v1.4.3

Published by wojtekmaj over 1 year ago

Bug fixes

  • Fixed types for props and return value when getArgs was used.
make-event-props - v1.4.2

Published by wojtekmaj over 1 year ago

Bug fixes

  • Added missing types in package.json.
make-event-props - v1.4.1

Published by wojtekmaj over 1 year ago

Bug fixes

  • Fixed TypeScript types not published.
make-event-props - v1.4.0

Published by wojtekmaj over 1 year ago

What's new?

  • Converted package to TypeScript (#39).
make-event-props -

Published by wojtekmaj about 3 years ago

What's new?

  • All types of events are now supported.
  • ES Modules were introduced.
  • Package is now tree-shakeable.
make-event-props -

Published by wojtekmaj almost 6 years ago

What's new?

  • Added support for focus events.
make-event-props -

Published by wojtekmaj about 6 years ago

What's new?

  • Added support for keyboard events (#1).