1.0.3 • Published 4 years ago

react-native-pulsator-native v1.0.3

Weekly downloads
5
License
MIT
Repository
github
Last release
4 years ago

react-native-pulsator-native

Pulsator for React Native. This library binds iOS and Android libraries from below repositories:

Demo 01

npm.io

Installation

  • Step 1:
yarn add react-native-pulsator-native
  • Step 2:
cd ios && pod install

Usage

import {TouchableOpacity, View} from "react-native";
import PulsatorNative from "react-native-pulsator-native";
import Icon from "react-native-vector-icons/Ionicons";
import React from "react";

export default function () {

    const [isRunning, setRunning] = React.useState(true)

    return <View style={{
        justifyContent: 'center',
        alignContent: 'center',
        alignItems: 'center',
        flex: 1
    }}>
        <TouchableOpacity
            onPress={() => setRunning(!isRunning)}
        >
            <PulsatorNative pulsatorColor={'#4c77cb'}
                            isRunning={isRunning}>
                <Icon name='ios-search'
                      color={'#fff'}
                      size={100}/>
            </PulsatorNative>
        </TouchableOpacity>
    </View>
}

Props

pulsatorColor

Color of pulsation. Note color type hex.

style

style of pulsation

isRunning

set Sate for pulsation. True is running, false is stop

Demo

Demo 02

npm.io

abababort-controlleracornacorn-jsxJSONStreamabsolute-pathacorn-walkajvacceptsadd-streamacorn-globalsaggregate-erroranseransi-escapesansi-alignansi-colorsansi-cyanansi-fragmentsansi-stylesanymatchansi-regexansi-redansi-wrapansi-grayargparsearr-flattenarr-diffarray-filterarr-unionarray-includesarray-find-indexarray-ifyarray-maparray-slicearray.prototype.flatmaparray-reducearray-unionasaparray-uniquearrifyassert-plusasyncassign-symbolsasn1astral-regexasync-retryasynckitatobbabel-eslintaws-sign2at-least-nodebabel-plugin-istanbulbabel-jestaws4babel-plugin-jest-hoistbabel-plugin-dynamic-import-nodebabel-polyfillbabel-plugin-syntax-trailing-function-commasbabel-preset-current-node-syntaxbalanced-matchbabel-preset-fbjsbabel-runtimebabel-preset-jestbasebase64-jsbefore-after-hookbcrypt-pbkdfbig-integerboxenbindingsbrace-expansionbplist-creatorbplist-parserbrowser-process-hrtimebracesbserbrowserslistbuffer-crc32builtinsbytesbuffer-fromcache-basecacheable-lookupcallsitescamelcasecaller-callsitecaller-pathcacheable-requestcamelcase-keyscaniuse-litechar-regexcapture-exitci-infochalkcaselesschangelog-filename-regexclass-utilsclean-stackchardetcli-boxescli-cursorcli-spinnerscli-widthcocollect-v8-coveragecliuicolor-convertcloneclone-responsecollection-visitcolor-namecolor-supportcombined-streamcommand-existscompare-versionscolorettecommandercommondircompare-funcconcat-mapcomponent-emittercompressibleconcat-streamcompressionconfigstoreconnectconventional-changelog-angularconventional-changelog-atomconventional-changelogconventional-changelog-codemirrorconventional-changelog-conventionalcommitsconventional-changelog-coreconventional-changelog-emberconventional-changelog-eslintconventional-changelog-expressconventional-changelog-jshintconventional-changelog-jqueryconventional-changelog-preset-loaderconventional-changelog-writerconvert-source-mapconventional-commits-filterconventional-commits-parsercore-jsconventional-recommended-bumpcopy-descriptorcore-util-iscore-js-compatcosmiconfigcreate-react-classcross-spawncsstypecrypto-random-stringcssomcssstylecurrently-unhandleddata-urlsdebugdashdashdayjsdargsdateformatdecamelizedecamelize-keysdedentdecimal.jsdeep-isdeepmergedecode-uri-componentdecompress-responsedeep-extenddefine-propertiesdefer-to-connectdefine-propertydelayed-streamdenodeifydefaultsdeprecated-objdeldetect-newlinediff-sequencesdepddeprecationdestroydoctrinedir-globdetect-repo-changelogdot-propdomexceptionejsduplexer3emitteryecc-jsbnee-firstencodeurlelectron-to-chromiumend-of-streamemoji-regexerror-exenquireres-abstractencodingerrorhandleres-to-primitiveenvinfoescape-goatescape-string-regexpeslint-plugin-eslint-commentseslint-plugin-flowtypeescaladeeslint-plugin-jesteslint-plugin-reacteslint-plugin-react-hookseslint-plugin-react-nativeeslint-plugin-react-native-globalseslint-scopeeslint-utilseslint-visitor-keysespreeescodegenesqueryesrecurseescape-htmlestraverseesutilseslint-plugin-relayevent-target-shimesprimaeventemitter3execaexitetagexpectextendexec-shextend-shallowexpand-bracketsexternal-editorfast-deep-equalextglobfast-difffast-json-stable-stringifyfast-levenshteinfancy-logextsprintffast-globfastqfb-watchmanfbjsfile-entry-cachefiguresfbjs-css-varsfbjs-scriptsfilelistfill-rangefind-upfind-versionsfile-uri-to-pathfinalhandlerfind-cache-dirflatflattedflat-cacheforever-agentfor-infragment-cacheform-datafs.realpathfunction-bindfunctional-red-black-treefseventsfreshgensyncfs-extraget-caller-fileget-streamget-package-typeget-valueget-stdinget-pkg-repogetpassgh-gotgit-semver-tagsgit-raw-commitsgit-upgit-remote-origin-urlglobglob-parentgit-url-parseglobalsgitconfiglocalgotgraceful-fsgithub-usernameglobal-dirsglobbygraphqlgrowlyhandlebarshashas-symbolshas-flaghar-validatorhar-schemahard-rejectionhas-valuehas-valueshas-yarnhermes-enginehttp-cache-semanticshosted-git-infohtml-escaperhttp-errorshttp-signaturehtml-encoding-snifferignorehuman-signalshttp2-wrapperimport-freshiconv-liteimage-sizeimport-localimurmurhashimport-cwdinflightimport-frominheritsimport-lazyinternal-slotindent-stringiniinquirerinterpretis-arrayishinvariantis-callableis-ciip-regexis-date-objectis-accessor-descriptoris-bufferis-data-descriptoris-descriptoris-extglobis-directoryis-dockeris-generator-fnis-extendableis-finiteis-globis-git-dirtyis-fullwidth-code-pointis-git-repositoryis-interactiveis-negative-zerois-installed-globallyis-npmis-objis-numberis-plain-objis-path-cwdis-regexis-plain-objectis-path-insideis-potential-custom-element-nameis-stringis-symbolis-sshis-regular-fileis-streamis-text-pathis-typedarrayis-windowsis-utf8is-wslis-yarn-globalisexeisobjectisarrayistanbul-lib-coverageistanbul-lib-instrumentistanbul-lib-reportistanbul-lib-source-mapsistanbul-reportsisomorphic-fetchisstreamjest-changed-filesjest-clijest-configjest-docblockjest-diffjest-eachjest-environment-jsdomjest-environment-nodejest-get-typejest-haste-mapjest-jasmine2jest-leak-detectorjest-matcher-utilsjest-message-utiljest-mockjest-pnp-resolverjest-regex-utiljest-resolvejest-resolve-dependenciesjest-runnerjest-serializerjest-runtimejest-snapshotjest-utiljest-validatejest-watcherjest-workerjs-tokensjakeiteralljs-yamljsdomjsescjetifierjsbnjson-parse-even-better-errorsjsc-androidjson-schema-traversejson-stable-stringifyjson-stable-stringify-without-jsonifyjson-parse-better-errorsjson-bufferjson-schemajson-stringify-safejsonfilejson5jsx-ast-utilsjsonifyjsonparsekeyvjsprimlevenkind-ofklawlevnkleurlines-and-columnslocate-pathlodashlevenaryload-json-filelatest-versionlodash.findlodash._reinterpolatelodash.ismatchlodash.sortbylodash.templatelodash.templatesettingslog-symbolslogkittylodash.throttleloose-envifylowercase-keysloud-rejectionmake-dirlru-cachemacos-releasemakeerrormerge-streammap-cachemap-visitmeowmerge2map-objmetrometro-babel-registermetro-babel-transformermetro-configmetro-cachemetro-inspector-proxymetro-coremetro-resolvermetro-minify-uglifymetro-react-native-babel-presetmicromatchmetro-react-native-babel-transformermetro-source-mapmetro-symbolicatemime-dbmime-typesmimeminimatchminimistmimic-fnminimist-optionsmimic-responsemixin-deepmin-indentmodify-valuesmkdirpnannatural-comparemute-streammsnanomatchneo-asyncnegotiatornode-modules-regexpnode-notifiernice-trynode-releasesnode-fetchnormalize-package-datanode-int64node-stream-zipnormalize-pathnullthrowsnpm-run-pathnormalize-urlnwsapiobject-assignnumber-is-nanobject-inspectobject-keysob1object.fromentriesobject.assignobject.entriesoauth-signobject.valuesobject-copyobject-visitobject.pickonceon-headerson-finishedopencollective-postinstalloptionatoronetimeopenoraoptionsp-each-seriesos-namep-limitos-tmpdirp-tryp-locatep-cancelableparent-modulep-finallyparse-jsonp-mappackage-jsonparse-github-repo-urlparse-node-versionparse-pathparse-urlparse5path-is-absoluteparseurlpascalcasepath-typepath-existspath-parsepifypath-keyperformance-nowpiratespkg-dirplease-upgrade-nodepicomatchpinkiepinkie-promiseplistplugin-errorposix-character-classesprettier-linter-helperspretty-formatprepend-fileprelude-lspromisepromptsprop-typesprepend-httpprocess-nextick-argsprogresspseudomappumpprotocolspunycodeqspslpupaqquick-lrureact-isrcread-pkg-uprange-parserread-pkgreact-devtools-corereadable-streamreact-refreshrechoirregenerate-unicode-propertiesredentregenerateregexp.prototype.flagsregexppregenerator-transformregenerator-runtimeregex-notregexpu-coreregistry-urlregjsparserregistry-auth-tokenregjsgenremove-trailing-separatorrepeat-stringrequestrepeat-elementrepeatingrequest-promise-coreresolverequire-directoryrequest-promise-nativerequire-main-filenameresolve-alpnresolve-cwdresolve-globalresolve-fromresponselikeresolve-pkgresolve-urlretrimrafretryrestore-cursorreusifyrun-parallelrun-asyncrsvprx-literx-lite-aggregatessafe-bufferrxjssanesafer-buffersafe-regexsemversemver-comparesaxessemver-regexsaxschedulersendsemver-diffserialize-errorserve-staticset-blockingsetimmediateset-valuesetprototypeofshebang-commandshebang-regexshell-quoteside-channelshelljsshellwordsslashsignal-exitsimple-plistsisteransislice-ansisnapdragonsnapdragon-utilslidesource-map-supportsource-mapsnapdragon-nodespdx-correctsource-map-resolvesource-map-urlspdx-expression-parsespdx-exceptionsspdx-license-idssplitstack-utilssplit2split-stringsprintf-jsstacktrace-parsersshpkstatusesstatic-extendstring-lengthstealthy-requirestring.prototype.matchallstream-buffersstrip-bomstrip-ansistring-widthstring.prototype.trimstartstring_decoderstring.prototype.trimendstrip-json-commentsstrip-eofsupports-colorsupports-hyperlinksstrip-final-newlinestrip-indentsudo-promptsymbol-observablesymbol-treeterminal-linktabletempterm-sizethroattest-excludetext-extensionstext-tabletmpthroughthrough2time-stampto-fast-propertiesto-object-pathtmplto-readable-streamto-regexto-regex-rangetoidentifiertough-cookietslibtsutilstr46trim-newlinestrim-off-newlinestunnel-agenttype-festtype-checktweetnacltypedarraytype-detecttypedarray-to-bufferuglify-esuglify-jsua-parser-jsultronunicode-match-property-ecmascriptunicode-canonical-property-names-ecmascriptunicode-property-aliases-ecmascriptunicode-match-property-value-ecmascriptunion-valueunique-stringuniversal-user-agentuniversalifyunpipeuri-jsunset-valueupdate-notifierurl-parse-laxurl-joinuseuse-subscriptionutil-deprecatev8-to-istanbulurixutils-mergev8-compile-cacheuuidvalidate-npm-package-namevalidate-npm-package-licensevaryverrorvlqwalkerw3c-hr-timewebidl-conversionsw3c-xmlserializerwcwidthwhatwg-encodingwhatwg-fetchwhich-pm-runswhichwhatwg-mimetypewhatwg-urlwhich-modulewidest-lineword-wrapwrappywindow-sizewindows-releasewordwrapwrite-file-atomicwrap-ansiwritewsxcodexdg-basedirxml-name-validatorxmlbuilderxmlcharsxmldocxpipexmldomyargsyargs-parsery18nxtendyallistyaml
1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.1.11

4 years ago

0.1.10

4 years ago

0.1.8

4 years ago

0.1.7

4 years ago

0.1.9

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago