kohver / React Native Touchable Scale
Like touchable opacity, but scale.
Stars: ✭ 132
Programming Languages
javascript
184084 projects - #8 most used programming language
Projects that are alternatives of or similar to React Native Touchable Scale
React Planet
A react lib for building circular menus in a very easy and handy way.
Stars: ✭ 83 (-37.12%)
Mutual labels: button
Gradient Screens
🌈 Gradients applied to buttons, texts and backgrounds in Flutter
Stars: ✭ 97 (-26.52%)
Mutual labels: button
Statebutton
一个可以用代码设置selector背景(按下去背景颜色更改,样式变化等等)的button, 再也不用写selector了
Stars: ✭ 1,276 (+866.67%)
Mutual labels: button
Windows10debloater
Script to remove Windows 10 bloatware.
Stars: ✭ 11,462 (+8583.33%)
Mutual labels: button
React Particle Effect Button
Bursting particle effect buttons for React 🎉
Stars: ✭ 1,385 (+949.24%)
Mutual labels: button
React Native Selectmultiple Button
A button (or a grouped buttons) supporting multiple or radio selection by building with React Native. https://github.com/danceyoung/selectmultiplebuttons for Swift.
Stars: ✭ 72 (-45.45%)
Mutual labels: button
React Native Submit Button
Animated Submit button. Works on both android and ios.
Stars: ✭ 124 (-6.06%)
Mutual labels: button
Spbutton
自定义按钮,图片可在上、左、下、右,可调整图文间距,新增属性支持storyBoard/xib,系统按钮的所有属性和方法依然生效
Stars: ✭ 91 (-31.06%)
Mutual labels: button
React Native Circle Button
A Customizable React Native Circle Button
Stars: ✭ 87 (-34.09%)
Mutual labels: button
Zwmusicdownloadview
精仿唱吧App音乐下载进度按钮,完美快速集成使用(A beautiful musical download progress button which can show the progress and click to play Music after finishing)
Stars: ✭ 88 (-33.33%)
Mutual labels: button
Flutter Reaction Button
Flutter reaction button plugin it is fully customizable widget such as Facebook reaction button
Stars: ✭ 111 (-15.91%)
Mutual labels: button
Angular2 Promise Buttons
Chilled loading buttons for angular2
Stars: ✭ 84 (-36.36%)
Mutual labels: button
Downloadbutton
Customizable App Store style download button
Stars: ✭ 1,532 (+1060.61%)
Mutual labels: button
Wymaterialbutton
Interactive and fully animated Material Design button for iOS developers.
Stars: ✭ 80 (-39.39%)
Mutual labels: button
Camerabutton
Instagram-like button for taking photos or recording videos
Stars: ✭ 121 (-8.33%)
Mutual labels: button
React Dark Mode Toggle
🦉 A cutesy dark mode toggle button for React.
Stars: ✭ 117 (-11.36%)
Mutual labels: button
Animated touchable component.
Props | Required | Default Value |
---|---|---|
TouchableWithoutFeedback props... | ||
style style | No | |
defaultScale number | No | 1 |
activeScale number | No | 0.9 |
tension number | No | 150 |
friction number | No | 3 |
pressInTension number | No | |
pressInFriction number | No | |
pressOutTension number | No | |
pressOutFriction number | No | |
useNativeDriver boolean | No | true |
Install
npm install --save react-native-touchable-scale
Usage
import TouchableScale from 'react-native-touchable-scale';
const Button = function(props) {
return (
<TouchableScale
style={style.button}
onPress={props.onPress}
activeScale={0.7}
>
{props.children}
</TouchableScale>
);
};
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].