@krishna_gupta/custom-button
v1.0.2
Published
this is custom react native button
Readme
Custom Button Component for React Native A customizable button component for React Native with theme support, accessibility, and styling flexibility.
✨ Features
Customizable styles
Theme support (light/dark mode)
Accessibility support
Disabled state support
Custom text styling
Easy integration
📦 Installation
npm install @krishna_gupta/custom-button
🚀 Usage
import CustomButton from "@krishna_gupta/custom-button";
const App = () => { return (
<CustomButton
text="Click Me"
onPress={() => alert("Button Pressed!")}
style={{ backgroundColor: "blue", padding: 12 }}
textStyle={{ fontSize: 18, fontWeight: "bold" }}
disabled={false}
/>); };
🔧 Props-
Props Name: text, onPress, style, disabled, textStyle
