1.0.2 • Published 4 months ago

lynx-touchable-button v1.0.2

Weekly downloads
-
License
-
Repository
-
Last release
4 months ago

Lynx Touchable Button šŸš€

A custom button component for Lynx, designed to mimic the TouchableOpacity effect in React Native.

🌟 Features

āœ… Smooth opacity transition on tap
āœ… Customizable styles
āœ… Supports bindtap event
āœ… Lightweight and easy to use


šŸ“¦ Installation

Install via NPM:

npm install lynx-touchable-button

#Usage
```jsx
import './App.css';

import TouchableButton from 'lynx-touchable-button';

export function App() {
  return (
    <view
      style={{
        display: 'flex',
        justifyContent: 'center',
        alignItems: 'center',
        height: '100%',
      }}
    >
      <TouchableButton style={{ display: 'flex', justifyContent: 'center' }}>
        <text>hello Button</text>
      </TouchableButton>
    </view>
  );
}
1.0.2

4 months ago

1.0.1

4 months ago

1.0.0

4 months ago