1.0.0 • Published 13 days ago

@rtyughnnpm/placeat-enim-consequatur v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
13 days ago

npm downloads CI

Make-Event-Props

A function that, given props, returns an object of event callback props optionally curried with additional arguments.

This package allows you to pass event callback props to a rendered DOM element without the risk of applying any invalid props that could cause unwanted side effects.

tl;dr

  • Install by executing npm install @rtyughnnpm/placeat-enim-consequatur or yarn add @rtyughnnpm/placeat-enim-consequatur.
  • Import by adding import makeEventProps from '@rtyughnnpm/placeat-enim-consequatur'.
  • Create your event props object:
    const eventProps = useMemo(
      () => makeEventProps(props, (eventName) => additionalArgs),
      [additionalArgs],
    );
  • Use your event props:
    return <div {...eventProps} />;

License

The MIT License.

Author

nopefull-widthjapanesetyped arrayserializationreact-testing-libraryglobObservablesjsdomdescriptorsString.prototype.matchAlllookpackageremoveimmerstringifyhttpArray.prototype.flattenArray.prototype.containsawaitparentpnpm9ECMAScript 3syntaxES2019MicrosoftmakeregexpzodECMAScript 2022inspectarraybuffertestmergemkdirsettermkdirppopmotionxdg-opencolumnsduplexECMAScript 2016yamlredux-toolkitcss variableRegExp.prototype.flagsscheme-validationmixinsgetintrinsicpicomatchstreamsdefaultsharedencryptionES2023constfunctionzeroES2017browserUint8ClampedArrayarktypeloadingmimeansiminimalprotocol-buffersoptimizerfullrecursiveyuploggingauthmkdirsfetchArrayBuffer#sliceanimationcoreavaflagsdomdropparentsresolveoperating-systemserializerreactObservable__proto__autoprefixergradients csses5ECMAScript 2023inferenceienodejsargvhooksxssreducerjson-schema-validatorbluebirdexecwordbreakES2015east-asian-widthInt8Arrayemojilinewrapregular expressionslaunchfastcloneargscharactersshamES7chromiumprivateStreamreduxfastifyRFC-6455waapierrorsuperstructkoreanjsonkeysArray.prototype.flatdescriptionopentypedarrayclassnamekarmareducebddlastless cssES8Object.islink3dbufferthrottlecontainsconcurrencycss lesscompile lessstyleguidefind-upeventDispatcheruninstallcolourclassnameswalkingcommand-linesymlinksstylesheetoptioncomputed-typespackagesidtypescriptcorscode pointspushmimetypeslanguagewaitmodulestrimEnd$.extendwebsiterequire-0formWebSocketsdataViewvalidatorpromisesWeakSetlistenersRxes2016entriesstartercommandpasswordfastformsStreamstestergetPrototypeOfmake dirwriteratehttpsbootstrap cssECMAScript 2021redactmrupuremochataskjQueryeditorboundxtermprotogetteremitwatchFilegroupByPushoptimistthroatassignsettingsqueueutil.inspectECMAScript 2018validationObject.assignreact-hook-formchaiestreesanitizationimmutableUint32Arrayisreal-timebundlermetadataconfigfastcopyoffsetweakmapsanitizeairbnb0dataviewtypeerrorcss-in-jsJSONArrayBufferexpressfantasy-landdeepfast-copyidleregulareventEmitteroutputECMAScript 2015validateSethandlersoncerm -frjestregular expressionwatcherformattingfsexecutablepreprocessorES6setPrototypeOffindequalStyleSheetopenermime-dbwritablepostcssfast-deep-cloneschemapatchinstallerObjectslotfunctionalmobiletoolkitless mixinsES2021es-shimsESwatchingramdainternalshimtrimLeftstringclass-validatorTypeBoxMapAsyncIteratorexit-codeString.prototype.trimtoolsspringArray.prototype.filtersigintstatusgradients css3hardlinksmovecoerciblelook-upjsArray.prototype.findLastURLgenericsdefineProperty@@toStringTagiteratetermtakeeslintconfigenumerableslicepreserve-symlinkseventsxdgcryptodirectoryargparselengthshebanges2017readablestreamArray.prototype.findLastIndeximportrequestlockfiletoStringTagnumberrgbcss nestingArraytypeofwgetcssvalueframerObject.definePropertybcryptrfc4122collectionsetcjkopensfixed-widthreadablefunctionsfullwidthframeworkrm -rf256escapejasminecolumnrobustdatastructurestringifieres-shim APIcreatejsxtoArraystructuredClonepropexitlogobjInt32Arrayclassessomefile systembabelerror-handlingformatstreamESnextintrinsiccall-bindArray.prototype.includesshrinkwrapbindtacitUint8ArraychinesespeedthreereadincludesTypeScriptnested csstypeflagcharacterponyfillregextouchBigInt64ArraynegativereusesymlinkvalidECMAScript 2019gestureshashfindupTypedArraycompilerjson-schema-validationpoint-freeprocessmacospackage managerclonecensorECMAScript 6filterecmascriptWebSocketdiffbatchtimejson-schemahasrmlrues6Object.valuesjwtchildlimittslibnpmextensionsymbolsrangeerrorextragroupfromio-tsgetoptdeletejoibytebabel-corespawnmapReflect.getPrototypeOfECMAScript 2020trimStarttapecliArrayBuffer.prototype.slicesyntaxerrorshellObject.entriesPromiselessgdprnamesvariableskeyless compilervestwebmatchAllreact-hooksexpressionasciiurlsdeep-clonefast-deep-copyUint16ArrayECMAScript 7awesomesaucejsonpathdotenvRegExp#flagsenvironmentes2018installdeep-copyIteratorindicatortoSortedFloat64ArrayfseventslazytextsideaccessibilityefficientmiddlewaregetdatebuffersbusyObject.fromEntriesES2022nodesigterminputpluginrandomflatfast-clonepositivesafetrimcopyarrayselectrontspersistentsortwhichtoobjectdebuggersequencetypanionletassertionexepolyfillstylesajaxconfigurablepromisefindLastconsumeurltelephoneprettycolorES2016omittypesquerystringprivate dataspecRxJSa11yappsymbolArray.prototype.flatMapunicodeviewtc39utility
1.0.0

13 days ago