target-native-components
v0.1.2
Published
target
Readme
Target Native Components
A fast and minimal component library that provides essential UI elements with a lightweight design. Easy to use, highly customizable, and optimized for performance.
Documentation
Installation
To install the library, use the following command:
npm install target-native-components [email protected] [email protected]Setup
Wrap your application with the <ThemeProvider> at the root level.
import React from 'react';
import { ThemeProvider } from 'target-naitve-components';
import App from './App';
const Root = () => {
return (
<ThemeProvider>
<App />
</ThemeProvider>
);
};
export default Root;Usage
import React from 'react';
import { View } from 'react-native';
import { Button, Card } from 'target-naitve-components';
const App = () => {
return (
<View style={{ padding: 20 }}>
<Card>
<Button title="Click Me" onPress={() => alert('Button Pressed!')} />
</Card>
</View>
);
};
export default App;Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
