0.0.2-alpha.6 • Published 7 years ago
k-react-native-layout v0.0.2-alpha.6
k-ui-react-layout
Simple layout for React Native using HTML tags.
Because I am a FrontEnd Engineer, so I prefer using html tags to control the layout.
It's not recommanded for everybody...
styles
The style theme can be customed with styles.use, it's very useful, and I will add more themes.
import {styles} from 'k-react-native-layout'
// use theme
styles.use('normal')
// or customization
styles.use({
li: {...}
})
Body
use Body, Body.Header, Body.Content, Body.Footer to get a Full Screen layout.
<Body>
<Body.Header>Title</Body.Header>
<Body.Content>
......
</Body.Content>
<Body.Footer>
Tabs
</Body.Footer>
</Body>
A Basic App View.
Section
Simple Content Section
H1~H6
using for title
UI, Ol
list with prefix, like ul/ol in HTML
0.0.2-alpha.6
7 years ago
0.0.2-alpha.5
7 years ago
0.0.2-alpha.4
7 years ago
0.0.2-alpha.3
7 years ago
0.0.2-alpha.2
7 years ago
0.0.2-alpha.1
7 years ago
0.0.1
7 years ago