0.2.14 • Published 5 months ago

hyper-native-ui v0.2.14

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

React Native Components Library

Installation

npm install hyper-native-ui

Provider

// app.tsx
import React from 'react';
import { View } from 'react-native';
import { useTheme, Button, ThemeProvider } from 'hyper-native-ui';

export default function App() {
  return (
  <ThemeProvider>
    <ButtonExample/>
  </ThemeProvider>
  );
}

// Usage - Button example
function ButtonExample() {
  const { currentTheme, toggleTheme } = useTheme();

  return (
    <View style={{
      flex: 1,
      backgroundColor: currentTheme.background,
      justifyContent: "center",
      alignItems: "center"
    }}>
      <Button onPress={()=>toggleTheme()}>
        This is a Button
      </Button>
    </View>
  );
}

Features

  • Support React Navigation Integration, read more.
  • Compatible with Expo.
  • Accessibility support.
  • Written in TypeScript.
  • Read more.

Getting Started

Check out the documentation website.

Author

Support

if you are looking for a private support or help in customizing the experience, then reach out to me on Twitter @akashmondal.

License

MIT

0.2.14

5 months ago

0.2.13

5 months ago

0.2.12

6 months ago

0.2.11

6 months ago

0.2.10

6 months ago

0.2.9

6 months ago

0.2.8

6 months ago

0.2.7

6 months ago

0.2.6

6 months ago

0.2.5

6 months ago

0.2.4

6 months ago

0.2.3

6 months ago

0.2.2

6 months ago

0.2.1

6 months ago

0.2.0

7 months ago

0.1.0

7 months ago

0.0.0

7 months ago