New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

react-native-custom-expandable-button

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-custom-expandable-button

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

React Native Custom Expandable Button

React Native Custom Expandable Button is an npm package that provides an animated and customizable button component. This button expands when clicked, grabs attention for a specific duration, and then smoothly reverts to its original size.

Installation

To add the package to your project, use the following command:

npm install react-native-custom-expandable-button

import React from 'react';
import { View } from 'react-native';
import CustomExpandableButton from 'react-native-custom-expandable-button';

const App = () => {
  return (
    <View>
      <CustomExpandableButton
        title="Click Me"
        width={140}
        height={40}
        borderRadius={5}
        borderWidth={2}
        borderColor="#3498db"
      />
    </View>
  );
};

export default App;

Custom Features

Expandable Animation: Adds an expanding animation when clicked, creating an interactive and engaging button.

Customizable: Allows users to adjust properties like width, height, corner radius, and border thickness.

Color Options: Customize the border color and background color during the click animation.

FAQs

Package last updated on 21 Nov 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts