0.1.8 • Published 1 year ago

rm-ui-widget v0.1.8

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

react-native-ui-kit

This is a React Native reusable UI Kit. It contains

  • CustomButton
  • CardView

Installation

npm install react-native-ui-kit

Usage

Custom button has 5 button types available however you can customize button style and pass style in Props

import CustomButton from 'rm-ui-widget';

 <CustomButton type={ButtonType.PRIMARY} onPress={onPrimaryPressHandler}>
		<Text>Primary Button</Text>
</CustomButton>

<CustomButton type={ButtonType.SECONDARY}>
	<Text>Secondary Button</Text>
</CustomButton>

Customize button with custom style:

export type Props = {
  children: React.ReactElement;
  onPress?: () => void;
  style?: ViewStyle;
  type?: ButtonType;
};

CardView

import CardView from 'rm-ui-widget';
<View style={styles.container}>
  <CardView />
</View>

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library

0.1.8

1 year ago

0.1.7

1 year ago

0.1.4

1 year ago

0.1.6

1 year ago

0.1.2

1 year ago

1.0.5

1 year ago

1.0.2

1 year ago

1.0.0

1 year ago