1.1.8 • Published 10 months ago
@cntech/rena-ui v1.1.8
@cntech/rena-ui
Custom react native components for fast development.
Install
npm install @cntech/rena-ui
yarn add @cntech/rena-ui
Peer dependencies
npm install react-native-linear-gradient
yarn add react-native-linear-gradient
Components
- Container
- Flex
- Header
- Icon
- IconButton
- Input
- Spacer
Text
Prop | Required | Short way of | type |
---|---|---|---|
size | true | {fontSize:number} | "sm", "md", "lg" |
style | false | TextStyle | |
center | false | {textAlign:"center"} | boolean |
bold | false | {fontWeight:"bold"} | boolean |
Button
Prop | Required | Short way of | type |
---|---|---|---|
onPress | true | function | |
label | true | string | |
onLongPress | false | function | |
style | false | ViewStyle | |
textStyle | false | TextStyle | |
textSize | false | {fontSize:number} | "sm", "md", "lg" |
bold | false | {fontWeight:"bold"} | boolean |
ButtonGroup
Prop | Required | Short way of | type |
---|---|---|---|
buttonProps | true | ButtonProp | |
paddingSize | false | "sm", "md", "lg" | |
direction | false | {flexDirection:"row"} | ViewStyle |
1.1.1
11 months ago
1.1.0
11 months ago
1.1.8
10 months ago
1.1.7
11 months ago
1.1.6
11 months ago
1.1.5
11 months ago
1.1.4
11 months ago
1.1.3
11 months ago
1.1.2
11 months ago
1.0.26
11 months ago
1.0.24
12 months ago
1.0.23
12 months ago
1.0.22
1 year ago
1.0.21
1 year ago
1.0.20
1 year ago
1.0.19
1 year ago
1.0.18
1 year ago
1.0.17
1 year ago
1.0.16
1 year ago
1.0.15
1 year ago
1.0.14
1 year ago
1.0.13
1 year ago
1.0.12
1 year ago
1.0.11
1 year ago
1.0.10
1 year ago
1.0.9
1 year ago
1.0.8
1 year ago
1.0.7
1 year ago
1.0.6
1 year ago
1.0.5
1 year ago
1.0.4
1 year ago
1.0.3
1 year ago
1.0.2
1 year ago
1.0.1
1 year ago