button-native
v0.1.0
Published
A reusable React Native Button component packaged for npm.
Readme
@roann/button-native
A standalone React Native Button package extracted from the sports betting monorepo.
Install
npm install @roann/button-nativeUsage
import { Button } from '@roann/button-native';
export function Screen() {
return <Button label="Continue" onPress={() => console.log('pressed')} />;
}Notes
- Designed for React Native apps.
- Uses NativeWind-compatible
classNameprops for layout and text styling. - Renders loading, icon, disabled, and multiple visual variants.
- If you want theme-aware colors, wrap it in your app’s styling system or customize the package colors.
Variants
primarysecondaryghostghostDarkcyanwithShadow
Sizes
smallmediumlarge
