2.0.0 • Published 7 years ago

rmc-feedback v2.0.0

Weekly downloads
179,478
License
-
Repository
github
Last release
7 years ago

rmc-feedback


:active pseudo-class with react/preact for mobile

NPM version build status Test coverage

Installation

npm install --save rmc-feedback

Development

npm install
npm start

Example

Usage

import TouchFeedback from 'rmc-feedback';

<TouchFeedback activeClassName="acitve" activeStyle={{ color: 'red'}} disabled={false}>
  <div>click to active</div>
</TouchFeedback>

API

props

namedescriptiontypedefault
disabledbooleanfalse
activeClassNameclassName applied to child when activestring
activeStylestyle applied to child when active (set to false to disable click feedback)object-

Test Case

npm test
npm run chrome-test

Coverage

npm run coverage

open coverage/ dir

License

rmc-feedback is released under the MIT license.

zeal-cube-mobilerc-input-number-classnameant-zyxc-antdxs-mobile@ngfed/fb-businessngfed-fc-components@infinitebrahmanuniverse/nolb-rm@everything-registry/sub-chunk-2672snbc-paas-uicpaas-uiwym-uixia-formxhuauisup-uedsxf-mobilethistle-uiux-mobile-complex-ui@beisen/mole-components-webjdcloudmuijojo-mobilejltd-rc-input-numberkb-cookkjkuitinper-librauiultra-input-number@alitajs/dform@beisen-phoenix/mobile-navbar@beisen-phoenix/mobile-picker@beisen-phoenix/mobile-tab-bar@beisen-phoenix/mobile-action-sheet@beisen-phoenix/mobile-button@beisen-phoenix/mobile-field-box@beisen/bsapp-mobile-complex-ui@beisen/bsapp-mobile-ui588middlewareyc-picker-scrolly-antd-mobileyonui-mobileytu-mobileyqcloud-uiyzt-ruiyxkj-uizeczhytestccccczzl-com-scriptszy-test-beisen-phoenix-mobile-buttonweaver-mobilezj-rmc-picker@huangming1994/antd-mobile@gdjiami/rmc-picker@gem-mine/rc-input-number@gem-mine/rmc-input-number@lingxiteam/dform@medlinker/im-components@molejs/mole-components-web@mdfe/antd-mobilemobile-person-selectosdoc-uiolymcreact-antd-mobilerc-input-number-decimalsc-componentnodejs-react-component-test-webpivi-dev-pickerppfishppfish-forkppfish-mobilepolardpolaris-componentspreact-h5-uippx-uiqingtaiqiliangz-rc-input-numberrmc-picker-scrollrmc-pickerrainy-uirmc-input-numberrmc-nqxsgj-uish-react-pickericeutils-uihzero-uihrfax-and-mhrfax-mobilehiocs-uih5-rephand-polardmed-im-componentsmeetyou-picker@whalecloud/cylon-mobile-lite@unovo/component@ytu-web/ytu-mobile@ytu-web/ytu-mobile-v2agile-mobileafc163-test-packageadarchitecture-uiam-rc-input-numberawe-reactares-uikit
2.0.0

7 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago