sbyk_t
v0.1.3
Published
A simple react component that accepts a list of password requirements and updates each as they are fulfilled
Downloads
17
Readme
description: 'A Button component.' labels: ['React Native', 'typescript', 'UI']
import { Button } from './button';
React Component for rendering basic Button with text inside and onclick event
A basic button that renders Text
Component usage
js
Using props to customize the text
Modify the text to see it change live: js live <Button text="hello from Button" textStyle = "color:'white',fontWeight:'bold'" containerStyle = "height:50,width:150,alignItems:'center',justifyContent:'center',backgroundColor:'#33B8FF'" onClick = {()=>alert('Hello from button')} />
