Giter Site home page Giter Site logo

callstack / react-native-ios-kit Goto Github PK

View Code? Open in Web Editor NEW
520.0 6.0 53.0 14.88 MB

The missing React Native UI Kit for iOS

Home Page: https://callstack.github.io/react-native-ios-kit/

License: MIT License

JavaScript 97.94% CSS 2.06%
react-native ios-ui ui-kit

react-native-ios-kit's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

react-native-ios-kit's Issues

Recommend Placing Inside ApolloProvider?

When there are other providers, does it matter in which order they're placed? Here's the direction I went with my expo app, but I thought others might have this question as well, so maybe the docs should mention this point πŸ€”

    <ApolloProvider client={client}>
      {
        <ThemeProvider>
          <View style={styles.container}>
            {Platform.OS === 'ios' && <StatusBar barStyle="default" />}
            {Platform.OS === 'android' && <View style={styles.statusBarUnderlay} />}
            <RootNavigation />
          </View>
        </ThemeProvider>
      }
    </ApolloProvider>

Crashes on launch

App crashes when importing form react-native-ios-kit.

Error shown

error: bundling failed: Error: Unable to resolve module `NativeModules` from `/Users/kyleroach/Desktop/USCChannel/node_modules/react-native-ios-kit/src/components/GroupedList/Sections.js`: Module does not exist in the module map

Steps to reproduce

  • Import any component from the library
  • Place in render method

Environment

IOS simulator - IOS 11.2 iPhone 6
React Native 0.53.0

RadioButton Row

or Checkbox. We need to find out the best name for this component

TextField - default height

why TextField component has flexGrow: 1 by default? I would say, it should have a static height by default and you can overwrite this using custom style.

example:

<Container style={{ flex: 1 }}> // this is whole screen container
   <TextField value="test" />
   <Button onPress={() => {}}>Press me</Button>
</Container>

my assumption is:

------------------
   Input
   Button 



-------------------

but currently it renders:

-------------------


 INPUT


 Button
-------------------

any thoughts?

Customize font

Hello. On the docs is mentioned you can customize the font with a theme passed to ThemeProvider, yet the theme type has no property for such value.

Is this a missing feature or I am missing something?

Thanks

GroupedList

grouped list of items with this funny alphabet on the right

Update Expo SDK to at least v31.0.0

Environment

Iphone 7 iOS 12

Description

When opening app on iOS through QR code, expo app throws error.
"There was a problem loading the requested app."

Form component

Describe the feature

Currently, we have a List component with List Items. Rename them to Form with child elements (Replace TableView and Rows):
- Form.Item (basic)
- Form.Separator (gray divider)
- others:

As a followup, investigate option to create more controlled components, maybe with validation and such. (Formik-like?)

NavigationRow

image

We can think about better name

Possibility to add some text near right arrow

CheckboxRow

image

See Languages in ios settings

Name to be changed!

Toolbar -- componentWillReceiveProps is deprecated

Environment

Running Toolbar on an emulation Android device.
Screen Shot 2019-07-25 at 10 27 17 AM

Description

Getting this warning:

Warning: componentWillReceiveProps is deprecated and will be removed in the next major version. Use static getDerivedStateFromProps instead.
β”‚
β”‚ Please update the following components: ThemeProvider, withTheme(Icon), withTheme(StyledText), withTheme(Toolbar)
β”‚
β”‚ Learn more about this warning here:
β”” https://fb.me/react-async-component-lifecycle-hooks

Reproducible Demo

import { ThemeProvider, Toolbar } from 'react-native-ios-kit';

RowItem, NavigationRow and more... backgroundColor onClick

When creating RowItem, NavigationItem and other fields and clicking on them, there is no change of background Color as it is done in iOS itself.
Tell me, this part is not implemented or I do something wrong?
<TableView withoutHeader={true} withoutFooter={true}>
<NavigationRow
title="Имя"
info={this.props.user['first_name']}
onPress={() => this.props.navigation.navigate('editUserProfile', this.state.editProps.name)} />
</TableView>
This is my code

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.