Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yudho hacktoberfest #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

prasetyoyudo
Copy link

fix styling with osmicsx lib

import { ScrollView, Text } from 'react-native'
import { connect } from 'react-redux'
import { TouchableOpacity } from 'react-native'
import { ScrollView,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to fix the indent, indent spaces are 2

import {
  ScrollView,
  Text,
  View,
  SafeAreaView,
  FlatList,
  Image,
}

<TouchableOpacity onPress={()=> this.actionDetail()}>
<View
width={295} height={90}
style={apply('rounded-b-lg rounded-t-lg bg-white mt-5 pl-7 items-center')}>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if it more than 3 styles, you can put it on Style file

@@ -1,10 +1,8 @@
import { StyleSheet } from 'react-native'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the whole file needs to be transformed into OsmiCSX

import { connect } from '../../Themes/OsmiCSX'

export default connect({
// your style code goes here
})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants