{% include "/docs/introduction/README.md" %}
geekyants / native-base-docs Goto Github PK
View Code? Open in Web Editor NEWDocumentation of NativeBase
License: Apache License 2.0
Documentation of NativeBase
License: Apache License 2.0
{% include "/docs/introduction/README.md" %}
So, native-base-theme has been copied great.
I set my StyleProvider , then thats it ? right ? i should have a theme right ?
Would have saved me a couple of minutes.
+ placeholder | - | - | Placeholder for Picker component (iOS)
- placeholder | - | - | Placeholder for Picker component
Thanks
Jade
Toast.show({
supportedOrientations: ['potrait','landscape'],
text: 'Wrong password!',
position: 'bottom',
buttonText: 'Okay',
onPress: () => { console.log('pressed') }
})
My deck swipper component is in the view with red border. It has flex:1, but this is not working (see the picture).
`<DeckSwiper
style={{flex:1, borderWidth:10, borderColor:'green'}}
looping = {false}
dataSource={this.getStack()}
renderItem={item =>
<Card style={{ paddingTop:50,flex:1, backgroundColor: 'white', alignItems: 'center', borderRadius: 20, borderWidth:10, borderColor:'yellow'}}>
<CardItem style={{backgroundColor: 'transparent'}}>
<View style={styles.titleText}>
<Text style={styles.textTitle}>{item.name}</Text>
</View>
</CardItem>
</Card>
}
onSwipeRight={() => this.updateDeckSize()}
onSwipeLeft={() => this.updateDeckSize()}
/>`
Thanks for helping
Hi there. Awesome framework :)
Just wanted to let you know there is a typo on https://docs.nativebase.io/Components.html#fabs-multiple-headref
The link in the left side menu says "Muliple FABs".
Lina
Hello!
I was working on a project based off a theme from the Native Base marketplace, however, there is no documentation for the "Input" component. Has anyone added this?
Easy Grid #57
i have this error when use native-base component Drawer.
Error message:
React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
ender() {
return (
<Drawer
ref={(ref) => { this.drawer = ref; }}
content={<SideBar {...this.props}/>}
>
<View style={styles.container}>
<Header left='menu' openDrawer={()=>{this.drawer._root.open();}} title={'abc'}/>
<Content>
<View style={{flex: 3, backgroundColor:'blue'}} >
</View>
</Content>
</View>
</Drawer>
);
}
"react-native": "0.56.0",
"native-base": "^2.7.1"
Hi,
I see some errors in http://docs.nativebase.io/docs/examples/navigation/StackNavigationExample.html# - are you open to a PR to fix them if I update the docs? Several files are missing from the example and if you copy the example code from the gitbook examples, the app doesn't actually run. :-( . But I'd be happy to fix it! :-)
The Picker documentation seems to imply that it works consistently on both iOS and Android but I took a look at the implementation and it looks quite different for each platform. These differences of implementation should be reflected in the documentation maybe?
I tried to access nativebase.io here and it is loading forever.
How to use radio when list is array data ?
Context: NB v2.8.1
For the given dataSource array (e.g. ds
) if the change important to the component user appears in one of the renderItem's properties (e.g. peoperty1
) and the whole system respect it, the only component which does not respect the change is Deck Swiper, e.g.
const ds= [
{
property1: false,
...
},
{ //active card
property1: false, // -> true value when the state changes
...
},
...
];
I work with redux and I follow the Redux Immutable Data Modification Patterns. Just before render
the ds
is properly changed, but Deck Swiper doesn't want to show it on active card. To make the change visible, I have to swipe the card first, but it's not an option for an user experience.
Hi there, apparently Drawer.md is not up-to-date. the version of native-base i am using is 2.8.1
interface Drawer {
acceptDoubleTap?: boolean;
acceptPan?: boolean;
acceptTap?: boolean;
captureGestures?: boolean;
children?: any;
open?: boolean;
closedDrawerOffset?: number;
content?: any;
deviceScreen?: ReactNative.ScaledSize;
disabled?: boolean;
initializeOpen?: boolean;
negotiatePan?: boolean;
onClose?: Function;
onCloseStart?: Function;
onOpen?: Function;
onOpenStart?: Function;
openDrawerOffset?: number;
openDrawerThreshold?: number;
panCloseMask?: number;
panOpenMask?: number;
panStartCompensation?: boolean;
relativeDrag?: boolean;
side?: "left" | "right";
styles?: DrawerStyles;
tapToClose?: boolean;
tweenDuration?: number;
tweenEasing?: string;
tweenHandler?: Function;
type?: "overlay" | "static" | "displace";
}
please advise.
The link for react-navigation on this page is not working and need a slight change.
swipeLeft and swipeRight, both functions only advance to the next, that is, always execute Right
Hi,
I want to apply a round corner on Card component. I try with a style but style seems to be not applied to Card. Do you have any tips to do this ?
A paragraph is repeated at https://docs.nativebase.io/Customize.html#Customize
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.