khaled-salem-custom-components
TypeScript icon, indicating that this package has built-in type declarations

0.1.4 • Public • Published

react-native-custom-components

custom and reusable components for react-native

Installation

npm install khaled-salem-custom-components

Usage

import { BackGround } from 'khaled-salem-custom-components';

export default function App() {
  const image = 'link your source';
  return (
    <BackGround image={image} opacity={0.1}>
      <Text style={styles.text}>Test custom image BG</Text>
    </BackGround>
  );
}

const styles = StyleSheet.create({
  text: {
    color: '#000000',
    alignSelf: 'center',
    fontSize: 14,
  },
});

// ...

Contributing

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

License

MIT

Package Sidebar

Install

npm i khaled-salem-custom-components

Weekly Downloads

0

Version

0.1.4

License

MIT

Unpacked Size

77.1 kB

Total Files

80

Last publish

Collaborators

  • khaledsalem