0.1.0 • Published 3 years ago

react-native-responsive-size v0.1.0

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

react-native-responsive-size

Support typescripts

Installation

yarn add react-native-responsive-size

Usage

import * as React from 'react';
import { StyleSheet, View } from 'react-native';
import { heightResponsive } from 'react-native-responsive-size';

export default function App() {
  return (
    <View style={styles.container}>
      <View style={{ width: '100%', height: heightResponsive(200), backgroundColor: 'green' }}>

      </View>
    </View>
  );
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
  },
});

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

acornJSONStreamababacorn-jsxabort-controlleraggregate-erroracceptsabsolute-pathacorn-globalsacorn-walkadd-streamajvanseransi-colorsansi-alignansi-escapesansi-cyanansi-regexansi-fragmentsansi-stylesansi-grayanymatchansi-wrapargparsearr-diffarr-unionarray-includesansi-redarray-filterarr-flattenarray-find-indexarray-unionarray-maparray-ifyarray.prototype.flatmaparray-slicearray-reduceasaparray-uniquearrifyat-least-nodeasn1assert-plusastral-regexassign-symbolsatobasyncasync-retrybabel-eslintaws-sign2asynckitbabel-jestaws4babel-plugin-dynamic-import-nodebabel-plugin-istanbulbalanced-matchbabel-plugin-jest-hoistbabel-plugin-syntax-trailing-function-commasbasebabel-preset-current-node-syntaxbabel-preset-fbjsbabel-preset-jestbase64-jsbindingsbcrypt-pbkdfbig-integerbrace-expansionbefore-after-hookbracesbrowserslistboxenbplist-creatorbplist-parserbrowser-process-hrtimebuiltinsbuffer-fromcacheable-requestcall-bindbserbytescallsitesbuffer-crc32camelcasecache-basecaniuse-litechalkcaller-callsitecacheable-lookupcaller-pathcapture-exitclean-stackchar-regexcaselesscjs-module-lexerchardetci-infocli-boxesclass-utilscli-cursorcamelcase-keysclone-responsecliuicli-spinnerscocli-widthcolor-convertcollection-visitcollect-v8-coveragecolor-supportcolorettecolor-namecombined-streamcommanderclonecompare-versionscommondircompare-funcconcat-mapcompressiblecommand-existscomponent-emitterconventional-changelog-codemirrorcompressionconcat-streamconventional-changelogconventional-changelog-atomconventional-changelog-angularconnectconventional-changelog-coreconventional-changelog-emberconventional-changelog-conventionalcommitsconventional-changelog-expressconfigstoreconventional-changelog-jqueryconventional-changelog-jshintconventional-changelog-preset-loaderconventional-changelog-writerconventional-commits-filterconvert-source-mapconventional-commits-parsercore-js-compatcore-jscross-spawncosmiconfigconventional-changelog-eslintcopy-descriptorcore-util-iscsstypeconventional-recommended-bumpcrypto-random-stringdashdashdargscurrently-unhandledcssomdata-urlscssstyledayjsdebugdecamelizedecamelize-keysdecompress-responsededentdecode-uri-componentdateformatdeep-isdefer-to-connectdefine-propertiesdecimal.jsdeepmergedefaultsdeldenodeifydeep-extenddeprecated-objdepddetect-newlinedelayed-streamdeprecationdir-globduplexer3doctrinediff-sequencesejsecc-jsbndestroyelectron-to-chromiumemoji-regexdot-propend-of-streamdefine-propertyencodeurlerror-exes-abstractee-firstemitteryes-to-primitiveenvinfoescaladedomexceptionescape-string-regexpeslint-plugin-eslint-commentsencodingenquirererrorhandlerescape-htmleslint-plugin-flowtypeeslint-plugin-jesteslint-plugin-reacteslint-plugin-react-nativeeslint-plugin-react-hookseslint-plugin-react-native-globalseslint-scopeeslint-utilseslint-visitor-keysespreeesqueryesrecurseestraverseescape-goatetagexecaesprimaescodegenesutilsexec-shevent-target-shimexpectextendeventemitter3expand-bracketsextend-shallowexitextglobfast-globfast-difffast-levenshteinfast-deep-equalfastqextsprintffbjsexternal-editorfast-json-stable-stringifyfancy-logfill-rangefb-watchmanfile-entry-cachefbjs-css-varsfbjs-scriptsfile-uri-to-pathfinalhandlerfilelistfind-upfiguresfind-versionsflat-cacheflatform-datafor-infs.realpathfind-cache-dirforever-agentfunction-bindgensyncfunctional-red-black-treefragment-cacheget-caller-filefs-extraget-streamflattedget-package-typeget-pkg-repofseventsgh-gotget-stdinfreshgetpassget-valuegithub-usernamegit-raw-commitsgit-semver-tagsglobglob-parentglobalsgotglobbyget-intrinsicgraceful-fsgit-remote-origin-urlgit-upgit-url-parsegrowlyglobal-dirshas-flaghashas-symbolshar-validatorhar-schemahas-valuegitconfiglocalhermes-enginehard-rejectionhas-valueshosted-git-infohttp-cache-semanticshermes-profile-transformerhtml-encoding-snifferhuman-signalshttp-errorshas-yarnignorehtml-escaperhttp-signaturehttp2-wrappericonv-liteimport-cwdimage-sizeimport-fromimurmurhashimport-freshindent-stringinheritsinflightinternal-slotimport-lazyimport-localis-absoluteis-arrayishinvariantiniinterpretis-callablehandlebarsis-core-moduleis-accessor-descriptoris-bufferip-regexis-ciinquireris-date-objectis-descriptoripis-extendableis-extglobis-git-dirtyis-directoryis-dockeris-git-repositoryis-globis-fullwidth-code-pointis-data-descriptoris-installed-globallyis-generator-fnis-interactiveis-path-cwdis-negative-zerois-path-insideis-regexis-finiteis-numberis-npmis-plain-objis-relativeis-potential-custom-element-nameis-plain-objectis-stringis-unc-pathis-objis-symbolis-streamis-windowsis-sshisexeis-text-pathis-typedarrayis-utf8is-yarn-globalistanbul-lib-coverageis-wslisarrayisomorphic-fetchistanbul-lib-instrumentistanbul-lib-source-mapsisstreamjest-changed-filesisobjectistanbul-lib-reportjakeistanbul-reportsjest-clijest-docblockjest-eachjest-configjest-diffjest-environment-jsdomjest-environment-nodejest-get-typejest-jasmine2jest-matcher-utilsjest-mockjest-leak-detectorjest-pnp-resolverjest-message-utiljest-regex-utiljest-haste-mapjest-resolve-dependenciesjest-resolvejest-serializerjest-runtimejest-snapshotjest-utiljest-workerjest-validatejs-tokensjetifierjest-watcherjs-yamljsescjson-bufferjsc-androidjson-parse-even-better-errorsjest-runnerjsdomjsbnjson-schema-traversejson5json-stable-stringifyjson-schemajson-parse-better-errorsjson-stringify-safejsx-ast-utilskeyvjsonifyjsonfilekleurjson-stable-stringify-without-jsonifyjsonparsekind-oflevnlines-and-columnsklawjsprimlatest-versionlodashload-json-filelocate-pathlodash._reinterpolatelevenlodash.sortbylodash.templatesettingslodash.templatelodash.ismatchlowercase-keyslodash.throttlelogkittylru-cachelog-symbolsloud-rejectionmake-dirmakeerrorloose-envifymerge-streammacos-releasemerge2map-cachemap-visitmetro-cachemap-objmeowmetro-configmetro-babel-transformermetro-coremetro-inspector-proxymetro-babel-registermetrometro-minify-uglifymicromatchmetro-source-mapmimic-fnmimemimic-responsemetro-resolverminimatchmetro-symbolicatemime-dbmin-indentmime-typesminimistminimist-optionsmetro-react-native-babel-transformermetro-react-native-babel-presetmixin-deepmodify-valuesnatural-comparemsnegotiatornice-trymkdirpnocachemute-streamnode-int64nanomatchnannode-fetchnormalize-urlnpm-run-pathnode-modules-regexpnode-releasesnode-stream-zipnode-notifiernullthrowsnumber-is-nanobject-assignnwsapiobject-inspectobject-keysobject.assignoauth-signobject.entriesobject.fromentriesobject-copyobject.valuesobject-visitobject.pickonceonetimeon-finishedob1optionatoropenon-headersp-cancelableoptionsoraopencollective-postinstallnormalize-package-datap-mapos-namep-finallyp-each-seriesp-limitos-tmpdirparent-modulep-locateparse-jsonparse-github-repo-urlpackage-jsonp-tryparse-pathparse-node-versionparse5path-is-absoluteparse-urlparseurlpath-typepath-keypicomatchpascalcasepath-parsenormalize-pathpath-existspiratesperformance-nowpifypinkie-promiseplease-upgrade-nodeplugin-errorpkg-dirplistpinkiepretty-formatprettier-linter-helpersprepend-httpneo-asyncprepend-fileprelude-lsprop-typesposix-character-classesprocess-nextick-argspromptsprogresspromisepumpprotocolspseudomappslpupapunycodeqquick-lrureact-isrange-parserqsrcreact-devtools-coreregenerateread-pkgread-pkg-upregenerate-unicode-propertiesregenerator-transformregexp.prototype.flagsreact-refreshregexpu-coreregexppregistry-auth-tokenregjsparserregex-notregenerator-runtimeregistry-urlredentreadable-streamrechoirremove-trailing-separatorrequestregjsgenrequire-directoryrepeat-stringrequest-promise-corerepeat-elementrepeatingresolve-alpnrequest-promise-nativeresolve-cwdresolveresolve-globalresolve-fromresponselikereusifyrequire-main-filenameresolve-urlrimrafrestore-cursorretryretrsvprun-asyncrun-parallelrx-literx-lite-aggregatessanesafe-regexsemversafe-buffersemver-comparesaxessaxsemver-regexschedulersafer-buffersemver-diffserve-staticsendset-blockingset-valuesetimmediaterxjssetprototypeofside-channelsignal-exitshebang-regexshebang-commandshell-quoteslashsisteransishelljsserialize-errorslidesimple-plistshellwordssnapdragonsnapdragon-nodeslice-ansisource-map-urlsource-map-supportsource-mapsource-map-resolvespdx-license-idsspdx-correctspdx-exceptionssplitsplit-stringspdx-expression-parsesnapdragon-utilsplit2sprintf-jsstatic-extendstack-utilssshpkstring-widthstatusesstring.prototype.matchallstrip-ansistealthy-requirestacktrace-parserstream-buffersstring-lengthstring.prototype.trimendstrip-final-newlinestring_decoderstrip-json-commentssupports-colorstring.prototype.trimstartstrip-bomstrip-eofsupports-hyperlinksstrip-indentsudo-prompttablesymbol-observablesymbol-treetemptemp-dirtext-tabletest-excludetemp-writetext-extensionsthroatterminal-linkthroughto-fast-propertiesto-readable-streamthrough2term-sizetmpto-regex-rangetime-stampto-object-pathto-regextmpltoidentifiertslibtsutilstough-cookietr46trim-off-newlinestrim-newlinestunnel-agenttweetnacltype-detecttype-festtypedarrayunc-path-regexunicode-canonical-property-names-ecmascripttype-checktypedarray-to-bufferua-parser-jsunicode-match-property-ecmascriptultronunicode-property-aliases-ecmascriptuglify-esunicode-match-property-value-ecmascriptuglify-jsuniversal-user-agentunion-valueuri-jsunpipeuniversalifyunique-stringurl-parse-laxunset-valueurixurl-joinuse-subscriptionusev8-compile-cachevalidate-npm-package-nameupdate-notifierutils-mergeutil-deprecateuuidv8-to-istanbulvalidate-npm-package-licensewalkervaryverrorw3c-xmlserializervlqwcwidthw3c-hr-timewhatwg-fetchwhatwg-encodingwhatwg-urlwhichwebidl-conversionswhatwg-mimetypeword-wrapwrappywhich-modulewrap-ansiwordwrapwrite-file-atomicwindows-releasewhich-pm-runswsxcodexmlbuilderxml-name-validatorwidest-linexmldocyallistxmldomy18nyargs-parserxpipexdg-basediryargsxtendyamlyocto-queuexmlchars
0.1.0

3 years ago