Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wafttech/helperstyles

Utility class names for react native projects
https://github.com/wafttech/helperstyles

react-native utility

Last synced: 8 days ago
JSON representation

Utility class names for react native projects

Awesome Lists containing this project

README

        

# helperStyles
Utility class names for react native projects

## Why do I need this?

For faster writing styles in RN projects, you need this. Here is why:
- **Familiar classes:** if you know css, you are almost done. Class names are written in such way, you don’t find any headache to remember. Yes there is pattern.
- **Less cognitive load:** Ever tired of thinking about new class names, it is for you. it is basically works like inline styles.
- **Flow in coding:** Once you get used to with class names, you don’t have to move to other lines of page or jump to other pages.

## How can I use this?

__Step1 : Import__

```
import React from 'react';
import {View,Text} from 'react-native';
import utilities from 'file path to utilities.js';
```

__Step2 : Load__

```


FROM

{moment(start_date).format('hh:mm a')}



TO

{moment(end_date).format('hh:mm a')}

```

```
const s = StyleSheet.create({
...utilities,
});
```