callstack / react-native-ios-kit Goto Github PK
View Code? Open in Web Editor NEWThe missing React Native UI Kit for iOS
Home Page: https://callstack.github.io/react-native-ios-kit/
License: MIT License
The missing React Native UI Kit for iOS
Home Page: https://callstack.github.io/react-native-ios-kit/
License: MIT License
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>
List is not taking whole available space of parent container. We need to give it flexGrow: 1
style.
https://developer.apple.com/ios/human-interface-guidelines/bars/toolbars/
Whats the difference between toolbar and tabbar?
App crashes when importing form react-native-ios-kit.
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
IOS simulator - IOS 11.2 iPhone 6
React Native 0.53.0
Copy base code from old repo
use expo
or Checkbox. We need to find out the best name for this component
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?
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
β€οΈ
grouped list of items with this funny alphabet on the right
Will be hard to implement
https://developer.apple.com/ios/human-interface-guidelines/app-architecture/modality/
Iphone 7 iOS 12
When opening app on iOS through QR code, expo app throws error.
"There was a problem loading the requested app."
default with IOS specific icons
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?)
TextField and SearchBar components doesn't display correctly, underlineColorAndroid props its not working as it should.
without move top animation
react 16 etc.
something like:
{
primaryColor: string,
secondaryColor: string,
...
}
Running Toolbar on an emulation Android device.
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
import { ThemeProvider, Toolbar } from 'react-native-ios-kit';
VirtualizedList
used by GroupedList
needs to have some key extractor.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.